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


Click here to return to the 'Enough Permissions?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Enough Permissions?
Authored by: CyborgSam on May 05, '02 04:37:16PM

The hint awhile back "Create a private mail server" changes these:

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

This hint only changes:

chmod g-w / /etc /etc/mail

Where the others eliminated for good reason? The first hint has been working AOK for me, I do admit that modifying the actual sendmail startup isn't as clean as adding a startup item.

Also, is the new startup item executed before or after sendmail starts? If after, sendmail might quit if the permissions are not correct...



[ Reply to This | # ]
Enough Permissions?
Authored by: robh on May 05, '02 05:17:29PM

I only ever fix '/' and that's enough for my sendmail to keep working.

One thing to watch out for relying on scripts like these is that upgrades such as iPhoto 1.1 clobber the permissions on '/' but they don't need a reboot, so incoming mail can't be delivered until you notice or do a reboot.



[ Reply to This | # ]