home *** CD-ROM | disk | FTP | other *** search
- 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
- From: mark@roissy.umd.edu (Mark Sienkiewicz)
- Newsgroups: comp.sys.hp
- Subject: Re: Bug in chmod on HP 9000/700 HP-UX-8.07
- Message-ID: <17105@umd5.umd.edu>
- Date: 20 Nov 92 22:01:39 GMT
- References: <1992Nov19.174815.11685@Informatik.TU-Muenchen.DE>
- Sender: news@umd5.umd.edu
- Organization: University of Maryland
- Lines: 28
-
- In article <1992Nov19.174815.11685@Informatik.TU-Muenchen.DE> Thomas.Knott@Informatik.TU-Muenchen.DE writes:
- >
- >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.
-
- It's not a bug-- it is supposed to do that. You've stumbled across a way
- to create "Context dependent files".
-
- The normal way to do this is either with makecdf(1) or chmod +H file.
-
- For a directory named "foo", you can change it back with the command
- % chmod -H foo+
-
- It's a bit twisted, so instead of explaining it, I'll just tell you
- to look at these man pages:
-
- cdf(4)
- context(5)
- chmod(1)
- makecdf(1)
- getcdf(3)
- showcdf(1)
- getcontext(1)
-
- After that, you probably see how it works and why it's there.
-
- Mark S.
-