Path: utzoo!attcan!uunet!bu.edu!snorkelwacker!ira.uka.de!smurf!artcom0!pf From: pf@artcom0.north.de (Peter Funk) Newsgroups: comp.unix.misc Subject: Re: Protection from "rm *" Message-ID: <2992@artcom0.north.de> Date: 13 Oct 90 21:56:15 GMT References: <22360001@hpcvmcdj.cv.hp.com> <1990Oct11.184004.9353@nntp-server.caltech.edu> <1100@bilver.UUCP> Distribution: comp,world,sub Organization: ArtCom GmbH, Atelier f. Computergrafik, Bremen(FRG) Lines: 21 In <1100@bilver.UUCP> bill@bilver.UUCP (Bill Vermillion) writes: bv> In article <1990Oct11.184004.9353@nntp-server.caltech.edu> gwoho@nntp-server.caltech.edu (g liu) writes: bv> > bv> >a good way to protect people from accidental "rm *" is to type "rm /bin/rm" bv> Well you can't do that on SysV type systems. You will get an error message bv> with "Text file busy". It won't removed itself, because it is in use, bv> trying to remove itself ;-) On SysV there is another good way yielding similar results for the same kind of lusers: mv /bin/rm '/bin/rm -i' ;-) Sorry .... I couldn't resist... ;-) ;-) --- Peter Funk \\ ArtCom GmbH, Schwachhauser Heerstr. 78, D-2800 Bremen 1 Work at home: Oldenburger Str.86, D-2875 Ganderkesee 1 /+49 4222 6018 (8am-6pm) >> PLEASE Don't send me BIG mails (oversea) ! I've to pay for it : $0.3/kB Don't use the bang path of this news article for mails (They will bounce). Only the address 'pf@artcom0.north.de' will work. Thank You ! <<