Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!cbosgd!ihnp4!houxm!mtuxo!mtune!codas!bsdpkh!latham From: latham@bsdpkh.UUCP (Ken Latham) Newsgroups: net.unix-wizards Subject: Re: VERY SERIOUS rmdir bug Message-ID: <236@bsdpkh.UUCP> Date: Fri, 15-Aug-86 19:52:11 EDT Article-I.D.: bsdpkh.236 Posted: Fri Aug 15 19:52:11 1986 Date-Received: Tue, 19-Aug-86 04:37:07 EDT References: <1074@inset.UUCP> <-932157@homer> Reply-To: latham@bsdpkh.UUCP (Ken Latham) Organization: AT&T-IS (SDSS), Orlando Fl. Lines: 40 In article <-932157@homer> marc@homer.UUCP writes: > >>>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") THE ABOVE IS A REAL BUG .... >>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! ..... NO it's SHELL !!!! these two are "BUGS" in shell not 'RMDIR' ( not technically though ) When you remove the cwd from inside shell, you strand yourself there. Ksh does not have these problems. Ken Latham, AT&T-IS (via AGS Inc.), Orlando , FL uucp: ihnp4!bsdpkh!latham