Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wasatch!cs.utexas.edu!uunet!mcvax!unido!laura!jf From: jf@laura.UUCP (Jan-Hinrich Fessel) Newsgroups: comp.os.minix Subject: Re: bug in rm -r Summary: rm ../junk also does not work correct Message-ID: <1347@laura.UUCP> Date: 8 May 89 16:47:53 GMT References: <1152@psueea.UUCP> Reply-To: jf@laura.UUCP (Jan-Hinrich Fessel) Organization: University of Dortmund, W-Germany Lines: 23 In article <1152@psueea.UUCP> kirkenda@jove.cs.pdx.edu (Steve Kirkendall) writes: >A funny thing just happened to me while running Minix-ST... > > $ rm -r ../hostmgr > >AND IT TRIED TO DELETE MY CURRENT DIRECTORY! It got as far as deleting . >and .. before it got stuck & quit, so I didn't loose any data files. But I >was left with a directory that had no . or .. entries in it, a definite no-no. The same with rm ../junk/anyfile, and best of all mv ../anyfile . : unable to read contents of . >OK, so I copied my files to a different directory, did a chdir out of the I wonder how you copyed the file to another directory, i was unable to retrieve them... Jan-Hinrich -- Jan-Hinrich Fessel Universitaet Dortmund, IRB jf@unido.uucp || jf@unido.bitnet There's no way to delay that trouble comin' every day... F.Z. =============================================================================