Welcome to the most active Linux Forum on the web.
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, 02: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, 05:58 AM   #2
Registered: Oct 2003
Distribution: Debian GNU/Linux buster 10.4 (amd64) w/kernel 5.7.5
Posts: 298

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 10:12 PM
9 data bits vedion Linux - Software 7 09-09-2005 01:32 PM
Java 64 bits and applications of 32 bits RGB_mdk Linux - Software 3 06-13-2005 09:05 AM
Sticky Bits bluesbrothers AIX 1 04-27-2004 02:31 AM
32 or 64 bits system? Minuteman Linux - Hardware 1 07-07-2003 11:55 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:56 PM.

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
Open Source Consulting | Domain Registration