home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.elm
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!daffy!spock.cs.wisc.edu!quale
- From: quale@spock.cs.wisc.edu (Doug Quale)
- Subject: Re: ELM 2.4PL6 - Big problem! Changing permissions on /usr/mail
- Message-ID: <1992Nov7.001144.15937@daffy.cs.wisc.edu>
- Sender: news@daffy.cs.wisc.edu (The News)
- Reply-To: quale@saavik.cs.wisc.edu
- Organization: Undergraduate Projects Lab, UW-Madison
- References: <Bx9BHq.E1x@mach1.wlu.ca> <848@rc1.vub.ac.be>
- Date: Sat, 7 Nov 1992 00:11:44 GMT
- Lines: 32
-
- In article <848@rc1.vub.ac.be> apardon@rc1.vub.ac.be (Antoon Pardon) writes:
- >In article <Bx9BHq.E1x@mach1.wlu.ca>, derwin@mach2.wlu.ca (Daryl Erwin) writes:
- >|> HELP! HELP!
- >|>
- >|> I think there is a big problem with elm 2.4 (not necessarily just pl6).
- >|>
- >|> Our directories in /usr/mail/ (users mail directories) group permissions
- >|> are being chamed from 'mail' to some other group (their own).
- >
- >We have had similar problems here. The problem however was not elm
- >but a buggy NFS. The problems was that when a file was opened with
- >the CREAT flag over NFS and you where the owner of the file the group of
- >the file was changed to the gid of the process even if the file already
- >existed. As a workaround (This works only on bsd systems I think) we
- >set the setgid bit on the spooldirectory to indicate that created files
- >should get the gid of the spool instead that of the process. It works
- >for the moment.
- >
-
- If this is indeed the problem, it is a bug in Elm. BSD and SYSV systems
- set the gid of newly created files differently. In BSD, the gid = gid
- of parent directory, in SYSV gid = gid of creating process, unless the
- the parent directory is sgid when the BSD behavior is used. POSIX permits
- either behavior. If the gid of a newly created directory is important
- (and it certainly is here!), the only reliable thing to do is explicitly
- chown it to the desired group after the open.
-
-
-
- --
- Doug Quale
- quale@saavik.cs.wisc.edu
-