From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,49bab6c042574158,start X-Google-Attributes: gidfee84,public From: sherk@gilbert.cc.monash.edu.au (Sher) Subject: Setting permissions on /usr/spool/mail/users Date: 1996/01/19 Message-ID: <4dmmoj$3ui@gilbert.cc.monash.edu.au>#1/1 X-Deja-AN: 135767959 organization: Monash University keywords: mail,binmail,sendmail newsgroups: comp.unix.osf.osf1 summary: How to retain 660 permission on /usr/spool/mail/user file I would like to see all user system mail boxes on our digital unix machine to have 660 permission set, rather than 600 (We have a HP-UX box NFS mounting /usr/mail/spool and the mail on it runs in setgid mode hence requires 660 permissions). The man pages for mail on digital unix v3.2c box state : The action of mail can be modified in two ways by manipulating /usr/spool/mail/user: + The default permission assignment for other users is read-only. If you change this permission assignment to read/write or to All Permis- sions Denied, the system preserves the file, even when it is empty, in order to maintain the desired permissions; you will not be able to remove the file. The actual permisisons assigned by default on our system are 600 for /usr/spool/mail/user, contrary to what the man page say. If the permission are changed to 660, the file is not preserved, as the manual suggest, once the last message is deleted through mailx. Sher