RE: OT - Getting fired for database oops

From: Matthew Zito <mzito_at_gridapp.com>
Date: Mon, 18 May 2009 12:35:33 -0400
Message-ID: <C0A5E31718FC064A91E9FD7BE2F081B1020BFDE7_at_exchange.gridapp.com>



I don't have a snapshotted VM here to try that on, but wouldn't that only help if I'm trying to use an expansion variable, such as:  

rm -rf *  

I think even with a -I file rm -rf / will still destroy everything under the root directory, since the shell won't ever pass the -i as an argument.  

Thanks,

Matt  


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Jared Still Sent: Monday, May 18, 2009 12:29 PM
To: Mark.Bobak_at_proquest.com
Cc: Richard.Goulet_at_parexel.com; stephenbooth.uk_at_gmail.com; oracle-l_at_freelists.org
Subject: Re: OT - Getting fired for database oops    

On Mon, May 18, 2009 at 6:53 AM, Bobak, Mark <Mark.Bobak_at_proquest.com> wrote:

rm -rf / ....how many ways can that one bite you? Honestly, sometimes I think rm needs an option like:

rm -rf
-yes-i-know-i-specified-rf-and-yes-i-know-im-about-to-specify-the-root-d irectory-and-yes-i-know-im-logged-in-as-root-do-it-anyways /

easily mitigated by 'touch -- -i' in key directories, such as '/'

Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist  

--
http://www.freelists.org/webpage/oracle-l
Received on Mon May 18 2009 - 11:35:33 CDT

Original text of this message