Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!udel!news.sprintlink.net!howland.reston.ans.net!Germany.EU.net!Dortmund.Germany.EU.net!not-for-mail From: bs@Germany.EU.net (Bernard Steiner) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Suggestion for 2.1 Date: 8 Jun 1995 18:35:41 +0200 Organization: EUnet Deutschland GmbH, Dortmund, Germany Lines: 18 Distribution: world Message-ID: <3r78st$2be@Germany.EU.net> References: <3r6rh4$64v@oz.plymouth.edu> <3r7888$280@Germany.EU.net> NNTP-Posting-Host: qwerty.germany.eu.net In article <3r7888$280@Germany.EU.net>, bs@Germany.EU.net (that's me) writes: [ranting deleted] |> No. I'd rather suggest people refrain from being root if they don't know what |> they are doing. Otherwise, the painful experiences will only be delayed. I was just given the hint that a very elegant way of preventing silly people from doing an 'rm *' is to simply put a file called '-i' in that directory. Which leads to one of the most frequently asked questions in c.u.w (and other non-appropriate newsgroups), but that's a different story. I'd suggest a script that does approximately the following: #!/bin/sh find / -type d -exec touch \{\}/-i ;-) Bernard