Hard links to directories: why not?
Peter da Silva
peter at ficc.ferranti.com
Tue Jul 24 08:31:18 AEST 1990
In article <25668 at mimsy.umd.edu> chris at mimsy.umd.edu (Chris Torek) writes:
> % mkdir a b; ln b a/b
> (now a/b is the same as b, and a/b/.. is the same as ./..)
> % unlink b # (rmdir would complain)
We're only talking about letting users make hard links to directories. Not
about deleting them. Root can always make files by playing games that find
can't find... the question at hand here is if a user can. A user can't
unlink a directory with unlink, so they can't build this structure even if
they can make a hard link to a directory.
--
Peter da Silva. `-_-'
+1 713 274 5180. 'U`
<peter at ficc.ferranti.com>
More information about the Comp.unix.wizards
mailing list