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


Click here to return to the 'Use cron to repair permissions on a regular basis' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use cron to repair permissions on a regular basis
Authored by: Numbski on Nov 19, '04 03:05:09PM

Bear in mind that if you have Sendmail installed, every time you run this you'll kill sendmail (why oh why won't apple use sane permissions???)

Add to your scripts the following:

chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue
chown root / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue

That or you'll have to edit your custom sendmail.cf to "Not Blame Sendmail". I just choose to manage the permissions in hopes that one day Apple will get their collective heads on straight.



[ Reply to This | # ]
Use cron to repair permissions on a regular basis
Authored by: murali1080 on Nov 19, '04 05:07:42PM

Panther has replaced Sendmail with Postfix and hence this should not be a problem unless you run Jaguar or older OS X.



[ Reply to This | # ]
Use cron to repair permissions on a regular basis
Authored by: Numbski on Nov 19, '04 08:53:35PM

I intentionally killed off Postfix and re-installed sendmail so I could run spamassassin milter, and a custom spamassassin quarantine application.

So yes, it is an issue if you have sendmail installed. :P



[ Reply to This | # ]
sendmail permissions
Authored by: sjk on Nov 19, '04 06:07:20PM

That's only an issue on pre-Panther since Postfix replaces sendmail on Panther.



[ Reply to This | # ]