Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Accidentally Delete *.dbf Files, OH NO!!!

RE: Accidentally Delete *.dbf Files, OH NO!!!

From: Jacques Kilchoer <Jacques.Kilchoer_at_quest.com>
Date: Mon, 31 Jan 2005 15:49:17 -0800
Message-ID: <B5C5F99D765BB744B54FFDF35F60262109F87C2E@irvmbxw02>


Start calling your datafiles with names like "kernel_01.exe", "kernel_02.exe", etc. Presumable a root user, currently lacking respect for a mere .dbf file, will cringe in terror before rming a kernel*.exe. Depending on how determined / knowledgeable these users are, you can always make rm an alias to "rm -i" or maybe even an alias to a "/rm.sh" or your own "rm" progrma in a different directory which would do some kind of security checks.

-----Original Message-----
Michael Fontana

I have been working with Solaris for several years now. We have had a rare
but particularly debilitating problem where certain people who will remain
nameless, in an effort to "clean up" disk space, have nailed a .dbf file or
two. I know I should have the solution to this on close at hand, but I seem
to recall this was difficult, if not impossible, on other Unix platforms (such as AIX), because the file would be "locked" or "in use", and the nefarious "rm" command would fail. Alas, Solaris is all too willing to comply when asked.

Is there something that can be done, at the OS or Oracle level, to prevent
such a thing? Needless to say, the "whackers" are using root to enter the
command, so changing permissions would accomplish little. They are already
set to only allow "oracle" write access.

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Jan 31 2005 - 18:51:56 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US