home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.misc
- Path: sparky!uunet!inmos!inmos.co.uk!brwal!hughm
- From: hughm@brwal.inmos.co.uk (Hugh McIntyre)
- Subject: Re: Directories, set-guid?
- Message-ID: <1992Dec17.090532.10830@inmos.co.uk>
- Sender: news@inmos.co.uk
- Organization: INMOS Limited, Bristol, UK
- References: <BzAH8n.3wn@fafnir.com> <15915@auspex-gw.auspex.com>
- Date: Thu, 17 Dec 1992 09:05:32 GMT
- Lines: 28
-
- In article <15915@auspex-gw.auspex.com>, guy@Auspex.COM (Guy Harris) writes:
- |> >What does a mode set-guid mean for a directory? I notice that our Sun
- |> >has most system directories, like /etc, set to mode 's' for group. The
- |> >man pages say this is possible but is ignored.
- |>
- |> Any SunOS 4.x man page that says that is incorrect.
-
- What the man page for chmod actually seems to say is that you can only change
- this bit in symbolic, not absolute mode, ie:
-
- chmod 2755 directory <--- 2000 bit ignored
- chmod g+s directory <--- OK, not ignored
-
- [under Absolute Modes ...]
-
- 2000 Set group ID on execution (this bit is ignored if
- the file is a directory; it may be set or cleared
- only using symbolic mode).
-
- [again under Symbolic Modes ...]
-
- s Set owner or group ID. This is only useful with
- u or g. Also, the set group ID bit of a direc-
- tory may only be modified with `+' or `-'.
-
-
- Hugh McIntyre.
- INMOS, Bristol, UK.
-