home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / hp / 13207 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  1.3 KB

  1. Path: sparky!uunet!olivea!charnel!rat!usc!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!umd5!roissy.umd.edu!mark
  2. From: mark@roissy.umd.edu (Mark Sienkiewicz)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: Bug in chmod on HP 9000/700 HP-UX-8.07
  5. Message-ID: <17105@umd5.umd.edu>
  6. Date: 20 Nov 92 22:01:39 GMT
  7. References: <1992Nov19.174815.11685@Informatik.TU-Muenchen.DE>
  8. Sender: news@umd5.umd.edu
  9. Organization: University of Maryland
  10. Lines: 28
  11.  
  12. In article <1992Nov19.174815.11685@Informatik.TU-Muenchen.DE> Thomas.Knott@Informatik.TU-Muenchen.DE writes:
  13. >
  14. >There is a bug in chmod command on HP 9000/700 with HP-UX-8.07. If you make a
  15. >'chmod +s' to an existing directory, this directory disappears and you have no
  16. >chance to get it back with 'normal' HP-UX commands.
  17.  
  18. It's not a bug--  it is supposed to do that.  You've stumbled across a way
  19. to create "Context dependent files".
  20.  
  21. The normal way to do this is either with makecdf(1) or chmod +H file.
  22.  
  23. For a directory named "foo", you can change it back with the command
  24.     % chmod -H foo+
  25.  
  26. It's a bit twisted, so instead of explaining it, I'll just tell you
  27. to look at these man pages:
  28.  
  29.     cdf(4)
  30.     context(5)
  31.     chmod(1)
  32.     makecdf(1)
  33.     getcdf(3)
  34.     showcdf(1)
  35.     getcontext(1)
  36.  
  37. After that, you probably see how it works and why it's there.
  38.  
  39. Mark S.
  40.