View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-22-2003, 03:58 AM   #1
LQ Newbie
Registered: Dec 2003
Location: 22 Degrees by 44 Degrees
Distribution: Slack, OneBase, MDK mostly
Posts: 20

Rep: Reputation: 0
Immutable Bits


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.

Old 12-22-2003, 06:58 AM   #2
Registered: Oct 2003
Location: Somewhere in Surrey
Distribution: Debian GNU/Linux 8.0 (amd64) w/kernel 3.19.0
Posts: 286

Rep: Reputation: 30
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".


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Immutable files wasp Programming 3 11-15-2005 11:12 PM
9 data bits vedion Linux - Software 7 09-09-2005 02:32 PM
Java 64 bits and applications of 32 bits RGB_mdk Linux - Software 3 06-13-2005 10:05 AM
Sticky Bits bluesbrothers AIX 1 04-27-2004 03:31 AM
32 or 64 bits system? Minuteman Linux - Hardware 1 07-08-2003 12:55 AM

All times are GMT -5. The time now is 08:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration