On Wed, 14 Jan 2004, Christopher Tarricone wrote: > The permissions on my bayes_journal and bayes_toks files keep changing. Has > anyone else encoutered this problem? [snip..] > I look in /usr/share/spamassassin/db/ and behold! The permissions are: > > [EMAIL PROTECTED] db]# ll > total 23012 > -rw------- 1 root root 3057 Jan 14 16:49 bayes_journal > -rw------- 1 vpopmail vchkpw 21061632 Jan 14 16:50 bayes_seen > -rw------- 1 vpopmail vchkpw 10211328 Jan 14 16:50 bayes_toks > [EMAIL PROTECTED] db]# > > If I do a processes listing > [EMAIL PROTECTED] db]# ps -aux |grep spam > vpopmail 3215 0.1 5.3 31940 27244 ? S Jan13 1:49 > /usr/bin/spamd -m 20 -s -Q -q -x -d -v -u vpopmail -F 0 > root 1445 0.0 0.1 3760 568 pts/3 S 16:53 0:00 grep spam > [EMAIL PROTECTED] db]# > > It seems to me that SpamAssassing is running as the user vpopmail so I am > not sure how the permissions are getting changed so often.
Are you doing any 'sa-learn' runs as root? (either by hand or via some kind of automated batch/cron job)? If the bayes_journal file rolls over during a 'sa-learn' run it will create a new one, as root. -- Dave Funk University of Iowa <dbfunk (at) engineering.uiowa.edu> College of Engineering 319/335-5751 FAX: 319/384-0549 1256 Seamans Center Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527 #include <std_disclaimer.h> Better is not better, 'standard' is better. B{ ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk