Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!lavaca.uh.edu!uhnix1!sugar!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.unix.wizards Subject: Re: Hard links to directories: why not? Message-ID: Date: 23 Jul 90 22:31:18 GMT References: <5222@milton.u.washington.edu> <6940@eos.UUCP> <837@ehviea.ine.philips.nl> <25668@mimsy.umd.edu> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 10 In article <25668@mimsy.umd.edu> chris@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`