On Tue, 29 Jan 2013 06:37:47 +0000 Mick <[email protected]> wrote:
> Hi All, > > I got this message when net-mail/mailbase-1.1 was emerged: > > * Messages for package net-mail/mailbase-1.1: > > * Your //var/spool/mail/ directory permissions differ from > * those which mailbase wants to set it to (03775). > * If you did not change them on purpose, consider running: > * > * chown root:mail //var/spool/mail/ > * chmod 03775 //var/spool/mail/ > > > Running this chmod changed access rights from: > > drwxrwxr-x 2 root mail 4096 Jan 28 19:57 mail > > to a sticky-fied: > > drwxrwsr-t 2 root mail 4096 Jan 28 19:57 mail > > > Any idea why are the sticky bits for group and others required? sticky for group so that all sub-dirs and files in them are owned by the mail group. Without it, they would be owned by the user running "mailx" and the mail system can no longer manager them. sticky for others is so that you can't delete my mail but you can still create your own mail spool files. Identical logic to /tmp (assuming that you are in the mail group) -- Alan McKinnon [email protected]

