Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!apple!antonio From: antonio@Apple.COM (Antonio Ordonez) Newsgroups: comp.unix.aux Subject: Re: A/UX Mail files Keywords: permissions, mail Message-ID: <25258@apple.Apple.COM> Date: 3 Feb 89 19:15:32 GMT References: <289@berlin.acss.umn.edu> <981@riddle.UUCP> <10131@ut-emx.UUCP> Organization: Apple Computer Inc, Cupertino, CA Lines: 41 In article <10131@ut-emx.UUCP> dlnash@ut-emx.UUCP (Donald L. Nash) writes: >In article <981@riddle.UUCP>, domo@riddle.UUCP (Dominic Dunlop) writes: >> In article <289@berlin.acss.umn.edu> grg@berlin.acss.umn.edu >> (George Gonzalez) writes: >> > >> > I have a question for you A/UX gurus. On our A/UX system all the mail >> >files have too many permissions: i.e.: >> > >> >-rw-rw---- gus >> >-rw-rw---- harry >> > >> >We'd rather have the files be -rw-------, i.e. only accessible by the owner. >> > >> >Don't suggest chmod 600 *, as the mail file gets deleted when you read all >> >your mail; when recreated it gets -rw-rw----- mode again. Since I posted a comment about confirming this and passing it on to engineering to be fixed I have been getting mail from people that say "It's not broken, don't fix it", because of that here is a follow-up The problem is that when a user has the mailbox file created, it gets created with the user as the owner of the file, but the group is the group of the sender (not mail or daemon), For example If the user guest that belongs to group x gets mail from a user belonging to group y, his mailbox file (/usr/mail/guest ) will have a group y. -rw-rw---- guest y Hope this clears the confusion if any was created. ---------------------------------------------------------------------------- #include /* I'll think of a better one later */ Antonio Ordonez amdahl \ Technical Communications/Direct Response Center pyramid!sun - apple!antonio Apple Computer, Inc. (408) 996-1010 decwrl / ----------------------------------------------------------------------------