Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

perms | 12 comments | Create New Account
Click here to return to the 'perms' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Authored by: natenate on Aug 30, '02 01:48:33PM

Does anyone know if the old directory permissions problem still exists in 10.2? Has Apple corrected this?

[ Reply to This | # ]
Authored by: carsten on Aug 30, '02 03:30:19PM
Yes the problem is still there in 10.2. I use this script: /System/Library/StartupItems/KeepSendmailHappy/KeepSendmailHappy #!/bin/sh . /etc/rc.common ## # Mail server maintenance ## if [ "${MAILSERVER:=-NO-}" = "-YES-" ]; then ConsoleMessage "Keeping Sendmail happy" chmod g-w / /etc /etc/mail chmod 2555 /usr/sbin/sendmail chown smmsp.smmsp /var/spool/clientmqueue chmod 700 /var/spool/mqueue chown root.wheel /etc/mail/ ConsoleMessage "Sending unsent mail spool files" # I have some mail sitting in /var/spool/clientmqueue that never # seems to get sent. "mailq -Ac" claims that the queue is empty, # but looking in the directory I see a large amount of held mail. /usr/sbin/sendmail -Ac -q -v fi

[ Reply to This | # ]
perms (DontBlameSendmail)
Authored by: LouieNet on Sep 02, '02 04:24:24AM
Instead of doing "chmod g-w / /etc /etc/mail ", I commented out the following line with a #:
O DontBlameSendmail=safe
and added below it:
O DontBlameSendmail=GroupWritableDirPathSafe
in the /etc/mail/ file. More information on that option and others are available at:

[ Reply to This | # ]
Re: perms
Authored by: StevieD on Nov 06, '02 02:26:34PM

Permission problems must still exist. When I try to start sendmail, I get this...

451 4.0.0 /etc/mail/ line 93: fileclass: cannot open '/etc/mail/local-host-names': Group writable directory

However, according to Disk Utility (and my own observation), permissions are fine.

[ Reply to This | # ]