LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 03: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, 06:58 AM   #2
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:13 AM.

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