Path: utzoo!attcan!uunet!husc6!rutgers!njin!princeton!phoenix!subbarao From: subbarao@phoenix.Princeton.EDU (Kartik Subbarao) Newsgroups: comp.unix.wizards Subject: Re: Hard links to directories: why not? Keywords: ln, directories, security... Message-ID: <1286@idunno.Princeton.EDU> Date: 18 Jul 90 23:02:03 GMT References: <5222@milton.u.washington.edu> <6940@eos.UUCP> Sender: news@idunno.Princeton.EDU Lines: 24 >What should be the output of the last command of this sequence? > >mkdir dir1 >mkdir dir2 >mkdir dir1/a_directory >ln dir1/a_directroy dir2/directory_link >cd dir2/directory_link >cd .. >pwd > Why, dir1 and dir2 of course! Considering BOTH are parent directories, they should be allowed to have the same kid - right? Any ideas? Wouldn't this be a NEAT addition to UNIX? -Just an Idea, Kartik subbarao@{phoenix,bogey or gauguin}.Princeton.EDU -|Internet kartik@silvertone.Princeton.EDU (NeXT mail) -| subbarao@pucc.Princeton.EDU - Bitnet