Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!crdgw1!sixhub!davidsen From: davidsen@sixhub.UUCP (Wm E. Davidsen Jr) Newsgroups: comp.unix.misc Subject: Re: Protection from "rm *" Message-ID: <2048@sixhub.UUCP> Date: 8 Oct 90 01:42:35 GMT References: <853@agcsun.UUCP> <151935@felix.UUCP> Reply-To: davidsen@sixhub.UUCP (bill davidsen) Distribution: usa Organization: *IX Public Access UNIX, Schenectady NY Lines: 13 This discussion went by once before... the "#" file trick with funny permissions doesn't work as well as creating a files called -i (touch ./-i). The reason is that even if you type "rm -f *", which bypasses the asking on the readonly file, the filename -i at the start will force interractive mode, you can look at the prompt and test your favorite expletive, then abort. If you ever really want to blow everything away you can "rm -f ./*". -- bill davidsen - davidsen@sixhub.uucp (uunet!crdgw1!sixhub!davidsen) sysop *IX BBS and Public Access UNIX moderator of comp.binaries.ibm.pc and 80386 mailing list "Stupidity, like virtue, is its own reward" -me