home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / hp / 13118 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.2 KB  |  35 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!think.com!paperboy.osf.org!dbrooks
  3. From: dbrooks@osf.org (David Brooks)
  4. Subject: Re: Bug in chmod on HP 9000/700 HP-UX-8.07
  5. Message-ID: <1992Nov19.182754.29904@osf.org>
  6. Followup-To: comp.sys.hp
  7. Sender: news@osf.org (USENET News System)
  8. Reply-To: dbrooks@osf.org (David Brooks)
  9. Organization: Open Software Foundation
  10. References: <1992Nov19.174815.11685@Informatik.TU-Muenchen.DE>
  11. Date: Thu, 19 Nov 1992 18:27:54 GMT
  12. Lines: 21
  13.  
  14. In article <1992Nov19.174815.11685@Informatik.TU-Muenchen.DE> Thomas.Knott@Informatik.TU-Muenchen.DE writes:
  15. >
  16. >Hello!
  17. >
  18. >There is a bug in chmod command on HP 9000/700 with HP-UX-8.07. If you make a
  19. >'chmod +s' to an existing directory, this directory disappears and you have no
  20. >chance to get it back with 'normal' HP-UX commands.
  21. >
  22. >Just try this:
  23. >% mkdir /tmp/test
  24. >% chmod +s /tmp/test
  25.  
  26. Try this: chmod -s /tmp/test+.  Or, more germanely, chmod -H.  The
  27. directory has become hidden; the setuid bit is the same as the Hidden bit.
  28.  
  29. I submit the only bug is that chmod(1) accepts +s for a directory.  It
  30. doesn't accept +H for a regular file.
  31. -- 
  32. David Brooks                    dbrooks@osf.org
  33. Open Software Foundation            uunet!osf.org!dbrooks
  34. Allⁿberall und ewig blauen licht die Fernen!  Ewig... ewig... earwig... O!
  35.