Immutable Bits
Hi,
I came across Immutable bits when I did a: rm /etc/init.d/network and got a: rm: remove write-protected file `/etc/init.d/network'? y rm: cannot unlink `/etc/init.d/network': Operation not permitted Then someone suggested me to set the immutable bit. How should this be done? But more importantly what are immutable bits and why do we need them? URLs would help. :newbie: |
Did you try deleting this file as an ordinary user? If you did, then it failed not because of the immutable bits, but because the /etc/init.d directory is owned by root, and that prevents you from deleting files inside of it.
As for immutable bits, see "man chattr". |
All times are GMT -5. The time now is 12:28 PM. |