Click to See Complete Forum and Search --> : Permissions on /var/spool directory and subdirs


phil_r
11-10-2003, 09:37 AM
Hi guys.
Foolishly, in trying to get something else to work, I changed the permissions on the spool directory. Now sendmail won't start, complaining about permissions (surprise). Trouble is I can't remember what they were before I changed them.

Can anyone tell me so I can change them back? Also what do the permissions need to be on the files inside spool?

Thanks,
Phil.

camelrider
11-10-2003, 11:00 AM
This is what I have, although I couldn't guarantee it is standard:

[tom@k6 tom]$ ls -l /var | grep spool
lrwxrwxrwx 1 root root 10 May 12 20:24 mail -> spool/mail/
drwxr-xr-x 10 root root 4096 Jul 4 14:01 spool/

[tom@k6 tom]$ ls -l /var/spool | grep mail
drwxrwsr-x 2 root mail 4096 Nov 9 09:53 mail/

[tom@k6 tom]$

phil_r
11-11-2003, 08:31 AM
Thanks man.
Getting the message "Dangerous permissions on /var/spool/clientmqueue/", what should they be?

Cheers.
Phil.