[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: root unable to delete




Mike,

> Can someone tell me how they did it ?

They may have modified the kernel, remounted the filesystem readonly... or
the may have simply set the immutable bit:


  ryan:~# touch this
  ryan:~# chattr +i this

  ryan:~# rm -f this
  rm: cannot remove `this': Operation not permitted

  ryan:~# lsattr this
  ----i---------- this

  ryan:~# chattr -i this
  ryan:~# rm this

see chattr(1) and lsattr(1) for more information.

Cheers,
Ryan


------------------------------------------------------------------------
     To unsubscribe email security-discuss-request@linuxsecurity.com
         with "unsubscribe" in the subject of the message.


[Home]     [Fedora Announce]     [Linux Crypto]     [Kernel]     [Netfilter]     [Video for Linux]     [Bugtraq]     [USB]     [Network Security]     [Fedora Security]

Add to Google Powered by Linux