home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.elm
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!umn.edu!math.fu-berlin.de!informatik.tu-muenchen.de!LRZnews!k2
- From: k2@bl.physik.tu-muenchen.de (Klaus Steinberger)
- Subject: Re: ELM 2.4PL6 - Big problem! Changing permissions on /usr/mail
- Message-ID: <k2.721375347@woodstock>
- Sender: news@news.lrz-muenchen.de (Mr. News)
- Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
- References: <Bx9BHq.E1x@mach1.wlu.ca> <848@rc1.vub.ac.be> <k2.721142571@woodstock> <BxGBzH.A4B@mach1.wlu.ca>
- Date: Tue, 10 Nov 1992 06:02:27 GMT
- Lines: 38
-
- derwin@mach2.wlu.ca (Daryl Erwin) writes:
-
- >In article <k2.721142571@woodstock> k2@bl.physik.tu-muenchen.de (Klaus Steinberger) writes:
- >>apardon@rc1.vub.ac.be (Antoon Pardon) writes:
- >>
- >>>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.
- >>
- >>Thanks for that tip, I did have sometimes similar problems, and could
- >>not track it down, but this I think would help. (At least on my
- >>EP/IX box, setgid works).
-
- >In simple language :-) how is this done?
-
- chmod g+s /usr/mail
-
- But this works only on systems with some BSD semantics. You could try it out,
- su to root, create a directory, use chgrp to change the group of the directory
- to another group, chmod g+s directory, create some file in the directory.
- If this file has the group which root usually creates (normally "other"),
- then setgid on directories didn't work. Otherwise the file must have the
- same group as the parent directory.
-
- Sincerely,
- Klaus
-
-
- --
- Klaus Steinberger Beschleunigerlabor der TU und LMU Muenchen
- Phone: (+49 89)3209 4287 Hochschulgelaende
- FAX: (+49 89)3209 4280 D-8046 Garching, Germany
- Internet: Klaus.Steinberger@Physik.Uni-Muenchen.DE
-