LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

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

 
Old 12-22-2003, 05:58 AM   #2
TheOneKEA
Member
 
Registered: Oct 2003
Location: Somewhere in Surrey
Distribution: Debian GNU/Linux 7.4.0 (amd64) w/kernel 3.13.0
Posts: 279

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".
 
  


Reply


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


All times are GMT -5. The time now is 01:40 PM.

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