VERY SERIOUS rmdir bug

marc at homer.UUCP marc at homer.UUCP
Tue Aug 5 09:50:00 AEST 1986


>>To demonstrate the bug, do this:
>>
>>$ mkdir foo foo/bar
>>$ rmdir foo/bar/../bar
>>(rmdir will cough along the lines of "foo/bar/../bar not removed")
>
>This seems to be another variant on the:
>
>	$ mkdir foo
>	$ cd foo
>	$ rmdir `pwd`
>
>/* End of text from homer:net.unix-wizar */

try this one:
	$ mkdir foo
	$ cd foo
	$ (cd ..; rmdir foo)
then try
	$ pwd
	$ l
	$ cd ..

this is great fun!

-----

						marc brumlik

				 ...trsvax!hal6000!unify1!\
							   >homer!marc
					    ...ihnp4!sys1!/



More information about the Comp.unix.wizards mailing list