----- Original Message ----- From: "Stevan Bajić" <ste...@bajic.ch> To: <dspam-user@lists.sourceforge.net> Sent: Friday, August 20, 2010 11:20 AM Subject: Re: [Dspam-user] dspam on debian lenny
> On Fri, 20 Aug 2010 08:36:27 +0200 > Julien Valroff <jul...@kirya.net> wrote: > >> Le vendredi 20 août 2010 à 00:40 +0200, Stevan Bajić a écrit : >> > On Thu, 19 Aug 2010 23:53:26 +0200 >> > Sebastian Toepfer <sebastian.toep...@onlinehome.de> wrote: >> > >> > > Hi Stevan, >> > > On Thu, 19 Aug 2010 23:23:14 +0200, Stevan Bajić <ste...@bajic.ch> >> > > wrote: >> > > > On Thu, 19 Aug 2010 00:01:40 +0200 >> > > > Sebastian Toepfer <sebastian.toep...@onlinehome.de> wrote: >> > > > >> > > > [...] >> > > > >> > > >> yes this work (i became this message). But www-data can read >> > > >> dspam.conf >> > > >> and I only mis give permissions to dspam.d/* too:(. >> > > >> >> > > > I tried to give access to a user to read dspam.conf but have not >> > > > given >> > > him >> > > > the right to read dspam.d and I can not reproduce that error on my >> > > > end. >> > > > With our without using Trust <someuser> in dspam.conf. How have you >> > > managed >> > > > to get that stack trace? Can you give me instructions that I need >> > > > to >> > > follow >> > > > to get that stack trace? >> >> I have been able to reproduce it (also on Debian Lenny i386), using the >> latest git (minus the latest commit in configure.ac). >> My way to get this stacktrace: dspam:/etc/dspam$ ls -l total 88 -rw-r--r-- 1 root root 31 2010-08-12 17:52 admins -rw-r--r-- 1 dspam dspam 1383 2007-08-23 00:07 default.prefs -rw-r--r-- 1 root root 1609 2010-08-18 23:48 dspam-apache2.conf -rw-r----- 1 dspam dspam 26923 2010-08-16 23:16 dspam.conf drwxr-xr-x 2 dspam dspam 4096 2010-08-18 23:26 dspam.d -rw-r--r-- 1 root root 966 2010-08-18 19:06 dspam_notify.conf -rw-r--r-- 1 root root 17168 2010-04-28 20:40 rgb.txt -rw-r--r-- 1 root root 564 2010-04-28 20:40 subadmins drwxr-xr-x 10 root root 4096 2010-08-18 23:27 templates drwxr-xr-x 2 root root 4096 2010-08-18 23:26 txt -rw-r--r-- 1 dspam dspam 7023 2010-08-12 18:19 webfrontend.conf dspam:/etc/dspam$ sudo -u www-data dspam_stats Unable to read dspam.conf OKAY!! dspam:/etc/dspam$ sudo chgrp www-data dspam.conf dspam.conf dspam:/etc/dspam$ sudo -u www-data dspam_stats *** glibc detected *** dspam_stats: double free or corruption (!prev): 0x0804e768 *** :((( id www-data uid=33(www-data) gid=33(www-data) groups=33(www-data) www-data can go into dspam.d www-d...@dspam:/etc/dspam$ cd dspam.d/ www-d...@dspam:/etc/dspam/dspam.d$ but can not read any file www-d...@dspam:/etc/dspam/dspam.d$ ls -l total 24 -rw-r----- 1 dspam dspam 2475 2010-08-10 08:00 extlookup.conf -rw-r----- 1 dspam dspam 2916 2010-08-10 08:00 hash.conf -rw-r----- 1 dspam dspam 9761 2010-08-16 22:43 ignoreHeaders -rw-r----- 1 dspam dspam 2225 2008-02-24 21:17 mysql.conf www-d...@dspam:/etc/dspam/dspam.d$ cat extlookup.conf cat: extlookup.conf: Permission denied same stacktrace without sudo - use sudo only for "faster" user switching :) Sebastian ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user