From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,fe85a49997a29cad X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-06-08 05:41:44 PST Newsgroups: comp.sys.dec Path: nntp.gmd.de!Germany.EU.net!EU.net!uunet!world!cmr From: cmr@world.std.com (Charles M Richmond) Subject: Re: Warning! rm command in my DEC Alpha 3000! Message-ID: Keywords: rm Organization: Integrated International Systems Corp. One Longfellow Place, Suite 3309, Boston, Ma. References: <2t437p$nk9@news.csie.nctu.edu.tw> Date: Wed, 8 Jun 1994 12:41:12 GMT ambrosia@chpi.edu.tw (Codex Chen) writes: >Hiya, > I once ran one command in my DEC Alpha 3000 with OSF/1... > rm -rf /tmp/.*& > I should think more before pressing the Enter when I was > in the superuser mode... > Then it seemed deleting my /bin and other directories... > I know it is forbidden for a rm command when trying 'rm ..' > or 'rm .*'in SunOS...but alas, in this heck OSF/1 it didn't > protect the '..' not to be deleted... > Is it a bug? Or should I get one patch for this command? > Thanks in advance... >-- > The one who is looking for the void... >===================================================================== > Dept of Computer Science, ambrosia@cs.chpi.edu.tw > Chung Hua Polytechnic Institute ambrosia@chpi.edu.tw > Hsinchu 30067, > Taiwan, R. O. C. On DEC OSF2.0 aijin> rm -r .* rm: cannot remove '.' or '..' rm: cannot remove '.' or '..' I hope that you are reasssured! Charlie -- ***************************************************************************** * Charles Richmond Integrated International Systems Corporation * * cmr@asoko.iisc.com cmr@world.std.com * * Specializing in UNIX, X, Image Processing, and Communications. *