LinuxQuestions.org
Visit Jeremy's Blog.
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 07-31-2001, 06:15 PM   #1
simon
LQ Newbie
 
Registered: Jul 2001
Posts: 23

Rep: Reputation: 15
cannot unlink


I'm trying to remove an old file from my computer but for some reason I'm unable to. When I try to remove it I get the message "rm: cannot unlink 'filename': Operation not permitted" I am logged in as root when I try this command. I am also unable to move the file. The file's permissions are "-rw-r-----". The file is owned by root. I am also unable to chmod the file to expand the permissions. Can anyone suggest what I should try next?

Thanks
 
Old 07-31-2001, 08:25 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,409
Blog Entries: 55

Rep: Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582
"lsattr (filename)", if a "u" and a "i" turn up its made (i)mmutable and (u)ndeletable. "chattr -iu (filename)" to undo this.
 
  


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
when to use unlink port moonmoth Linux - Networking 1 07-20-2005 06:32 AM
RM: Cannot Unlink margolik Linux - Software 0 04-17-2004 12:03 PM
perl unlink? sk8guitar Programming 11 08-13-2003 11:44 AM
cannot unlink messages TruckStuff Linux - General 5 02-13-2003 03:04 PM
How to unlink a directory? _TK_ Linux - General 4 04-25-2001 09:32 PM

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

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration