rm etc. (was: Nasty Security Hole?)

Doug Gwyn gwyn at smoke.BRL.MIL
Fri Dec 2 04:36:56 AEST 1988


In article <17672 at adm.BRL.MIL> rbj at nav.icst.nbs.gov (Root Boy Jim) writes:
>?  This is wrong, of course: the names go on the lines ...
>Strictly speaking, yes. However, if you limit the discussion to
>directorys only, and don't allow hard links to directorys (a practice
>even I have resisted), then you can move the names into the (i)nodes. 

No, Joe was right and you're wrong.  Consider

		(rootdir)
		/	\
	   (subdirA) (subdirB)
		\	/
		(whatsit)

By putting names on the inodes you have made it impossible to properly
show that whatsit's name is different in the two subdirs containing it.



More information about the Comp.unix.wizards mailing list