undo rm -rf *

Reindl Harald h.reindl at thelounge.net
Tue Mar 26 17:35:43 UTC 2013



Am 26.03.2013 18:03, schrieb Matthew Saltzman:
>> this is safe since a very long time
>>
>> [root at testserver:/tmp]$ LANG=c; /usr/bin/rm -rf .*
>> /usr/bin/rm: cannot remove directory: '.'
>> /usr/bin/rm: cannot remove directory: '..'
> 
> Does this not depend on where in the tree you are and what permissions
> you have on . and ..?

how many more permissions will you have than root?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130326/7fc97990/attachment.sig>


More information about the users mailing list