1 |
On Tue, 29 Jan 2013 06:37:47 +0000 |
2 |
Mick <michaelkintzios@×××××.com> wrote: |
3 |
|
4 |
> Hi All, |
5 |
> |
6 |
> I got this message when net-mail/mailbase-1.1 was emerged: |
7 |
> |
8 |
> * Messages for package net-mail/mailbase-1.1: |
9 |
> |
10 |
> * Your //var/spool/mail/ directory permissions differ from |
11 |
> * those which mailbase wants to set it to (03775). |
12 |
> * If you did not change them on purpose, consider running: |
13 |
> * |
14 |
> * chown root:mail //var/spool/mail/ |
15 |
> * chmod 03775 //var/spool/mail/ |
16 |
> |
17 |
> |
18 |
> Running this chmod changed access rights from: |
19 |
> |
20 |
> drwxrwxr-x 2 root mail 4096 Jan 28 19:57 mail |
21 |
> |
22 |
> to a sticky-fied: |
23 |
> |
24 |
> drwxrwsr-t 2 root mail 4096 Jan 28 19:57 mail |
25 |
> |
26 |
> |
27 |
> Any idea why are the sticky bits for group and others required? |
28 |
|
29 |
sticky for group so that all sub-dirs and files in them are owned by |
30 |
the mail group. Without it, they would be owned by the user running |
31 |
"mailx" and the mail system can no longer manager them. |
32 |
|
33 |
sticky for others is so that you can't delete my mail but you can still |
34 |
create your own mail spool files. Identical logic to /tmp (assuming |
35 |
that you are in the mail group) |
36 |
|
37 |
-- |
38 |
Alan McKinnon |
39 |
alan.mckinnon@×××××.com |