perms on bayes_journal

Johnny Stork lists at openenterprise.ca
Mon Mar 31 22:08:20 IST 2008


I have found for some reason, on my MS (current) setup running on 
Centos5, that the files in /etc/Mailcanner/bayes/ keep getting the 
permissions changed and I am not sure how this is happening. Right now 
they show

root at gateway:/etc/MailScanner# ls -la bayes/
total 14464
drwxrwxrwx 2  777 root     4096 Mar 31 13:31 .
drwxr-xr-x 6 root root     4096 Mar 31 13:04 ..
-rw------- 1  777 root    48480 Mar 31 14:01 bayes_journal
-rwxrwxrwx 1  777 root     1152 Mar 31 13:41 bayes.mutex
-rwxrwxrwx 1  777 root 10514432 Mar 31 13:41 bayes_seen
-rw------- 1  777 root  5308416 Mar 31 13:41 bayes_toks
-rwxrwxrwx 1  777 root      423 Sep 24  2007 razor-agent.log
-rwxrwxrwx 1  777 root        0 Sep 24  2007 Starting
-rwxrwxrwx 1  777 root        0 Sep 24  2007 Update




And so bayes_journal and bayes_toks cant be accessed by MailScanner 
which runs as root. I have to go in an chmod 777 bayes* in order for 
MailScanner/SA to access those files, or to show the Bayes stats in the 
MailWatch interface.

Is there some place I should be setting the permissions for those files? 
I dont want to have to keep going in an manually changing the modes.


More information about the MailScanner mailing list