[LUNI] finding out what rm did
Robert C. Ramsdell
RCRamsdell at gldd.com
Wed Nov 28 16:38:00 CST 2001
Do I read this right that you put a space in there:
rm -rf / WS_FTP.LOG
^
If so, were you running as root? Then everything will be deleted. (Does
anyone remember the move "Leon"? This reminds me of the scene with the DEA
agent asking for backup: "Get me everybody." "Who?" "EVERYBODY!!!!")
If running as a user wouldn't it remove everything you have write
permissions on?
Robert
-----Original Message-----
From: Lawrence, Sean [mailto:slawrence at seveninteractive.com]
Sent: Wednesday, November 28, 2001 4:04 PM
To: Linux User Group (E-mail)
Subject: [LUNI] finding out what rm did
Does anyone know if there is anyway to find out what a poorly inputed rm
command might have removed?
I tried to remove a bunch of WS_FTP.LOG files from the server and I typed rm
-rf / WS_FTP.LOG and stopped it almost immediately and then tried it on my
test server which got immediately hosed. So I was wondering if there is a
cache of any type or a system log that might have a list of what was
removed.
Signed,
Big dummy
:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://luni.org/pipermail/luni/attachments/20011128/f2bd7bee/attachment.html
More information about the luni
mailing list