home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!think.com!paperboy.osf.org!dbrooks
- From: dbrooks@osf.org (David Brooks)
- Subject: Re: Bug in chmod on HP 9000/700 HP-UX-8.07
- Message-ID: <1992Nov19.182754.29904@osf.org>
- Followup-To: comp.sys.hp
- Sender: news@osf.org (USENET News System)
- Reply-To: dbrooks@osf.org (David Brooks)
- Organization: Open Software Foundation
- References: <1992Nov19.174815.11685@Informatik.TU-Muenchen.DE>
- Date: Thu, 19 Nov 1992 18:27:54 GMT
- Lines: 21
-
- In article <1992Nov19.174815.11685@Informatik.TU-Muenchen.DE> Thomas.Knott@Informatik.TU-Muenchen.DE writes:
- >
- >Hello!
- >
- >There is a bug in chmod command on HP 9000/700 with HP-UX-8.07. If you make a
- >'chmod +s' to an existing directory, this directory disappears and you have no
- >chance to get it back with 'normal' HP-UX commands.
- >
- >Just try this:
- >% mkdir /tmp/test
- >% chmod +s /tmp/test
-
- Try this: chmod -s /tmp/test+. Or, more germanely, chmod -H. The
- directory has become hidden; the setuid bit is the same as the Hidden bit.
-
- I submit the only bug is that chmod(1) accepts +s for a directory. It
- doesn't accept +H for a regular file.
- --
- David Brooks dbrooks@osf.org
- Open Software Foundation uunet!osf.org!dbrooks
- Allⁿberall und ewig blauen licht die Fernen! Ewig... ewig... earwig... O!
-