From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,d0e224e8eb7801cc,start X-Google-Attributes: gidfa528,public From: stefand@lcam.u-psud.fr (Stefan A. Deutscher) Subject: [Q] Permissions for /var/spool/mail ? Date: 2000/05/23 Message-ID: #1/1 X-Deja-AN: 626216650 Organization: Universite Paris-Sud, France. Reply-To: sad@utk.edu Newsgroups: comp.unix.tru64 Hi, I just set up sendmail on a Tru64 4.0 box, and looking over the permissions of /var/spool/mail I got somewhat worried, as out of the box I find: $ ls -ld /var/spool/mail drwxrwxrwt 2 root mail 8192 May 23 11:49 /var/spool/mail/ This means that it is world writable, and indeed: $ cp -p bigfile /var/spool/mail succeeds. Now -- what can be done about that? I am planning to move the local incoming mail spool to an NFS mounted /foo/var/spool/mail anyway so that it can be seen from all the machines in the cluster, but what are the right permissions to use? Shouldn't it be enough to have the owner and group write access and set the sticky bit 't' so normal users can erase their own mailbox (if they so wish)? Any pointers are welcome, Cheers, Stefan -- ========================================================================= Stefan A. Deutscher | (+33-(0)1) voice fax Laboratoire des Collisions Atomiques et | LCAM : 6915-7699 6915-7671 Mol\'{e}culaires (LCAM), B\^{a}timent 351 | home : 5624-0992 call first Universit\'{e} de Paris-Sud | email: sad@utk.edu 91405 Orsay Cedex, France (Europe) | (forwarded to France) ========================================================================= Do you know what they call a quarter-pounder with cheese in Paris?