LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-27-2005, 10:35 AM   #1
xtypestereotype
LQ Newbie
 
Registered: May 2005
Location: Perth, Australia
Distribution: Arch, Debian/Ubuntu, Gentoo
Posts: 9

Rep: Reputation: 0
Root cant delete file WTF!!!


Im having this stupid annoying problem
There is a file in my system that the root user cannot cat, ls or rm...
Why the hell is that?
Isnt the root supposed to be able to do anything?
I also tried chattr, chmod and chown to no avail
What the hell is going on????
 
Old 06-27-2005, 10:48 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
What file is that? Looks like it's either something you should not delete or that is being used by the system...
 
Old 06-27-2005, 10:55 AM   #3
xtypestereotype
LQ Newbie
 
Registered: May 2005
Location: Perth, Australia
Distribution: Arch, Debian/Ubuntu, Gentoo
Posts: 9

Original Poster
Rep: Reputation: 0
First i had an error from firefox saying it wouldnt open cause some files in my cache did not belong to the running user (non-root).
I tried cleaning the cache as root and non-root but one of these files would not go...
Nothing at the CLI would work
Then I tried deleting with Nautilus and off it went...
However now the file is in my >Trash folder and nothing can delete it from there
Not even nautilus or rm -f
I cant even "ls -l" the file, i get a denied persimision as root!!
 
Old 06-27-2005, 10:59 AM   #4
zackarya
Member
 
Registered: Jul 2003
Distribution: OpenSuse 10, Debian
Posts: 152

Rep: Reputation: 30
xtypestereotype, You need to provide some more information.
What is the name of the file?
What's the files location?
What is the output from ls, cat.... etc.

EDIT: Well looks like you beat me to it.
I'm of the opinion that the file is "locked" by the system because it's still being used
somewhere. Sorry I can't be more helpful.


Megaman X, I just watched the video you linked to. That was very good.
I had'nt seen that before. Funny and very informative. If only more people
knew about that super secret SEARCH we would all be better off.

Zack

Last edited by zackarya; 06-27-2005 at 11:02 AM.
 
Old 06-27-2005, 11:03 AM   #5
xtypestereotype
LQ Newbie
 
Registered: May 2005
Location: Perth, Australia
Distribution: Arch, Debian/Ubuntu, Gentoo
Posts: 9

Original Poster
Rep: Reputation: 0
copy n paste of my last efforts

bash-2.05b# chattr -i _CACHE_MAP_
chattr: Permission denied while trying to stat _CACHE_MAP_
bash-2.05b#
bash-2.05b# ls -l _CACHE_MAP_
ls: _CACHE_MAP_: Permission denied
bash-2.05b# ls -a _CACHE_MAP_
ls: _CACHE_MAP_: Permission denied
bash-2.05b# ls _CACHE_MAP_
ls: _CACHE_MAP_: Permission denied
bash-2.05b# ls
_CACHE_MAP_
bash-2.05b# ls -l
ls: _CACHE_MAP_: Permission denied
total 0
bash-2.05b# ls -a
. .. _CACHE_MAP_
 
Old 06-27-2005, 11:05 AM   #6
xtypestereotype
LQ Newbie
 
Registered: May 2005
Location: Perth, Australia
Distribution: Arch, Debian/Ubuntu, Gentoo
Posts: 9

Original Poster
Rep: Reputation: 0
or

bash-2.05b# rm *
rm: cannot lstat `_CACHE_MAP_': Permission denied
bash-2.05b# rm -f _CACHE_MAP_
rm: cannot remove `_CACHE_MAP_': Permission denied
bash-2.05b# rm -f *
rm: cannot remove `_CACHE_MAP_': Permission denied
 
Old 06-27-2005, 11:37 AM   #7
xtypestereotype
LQ Newbie
 
Registered: May 2005
Location: Perth, Australia
Distribution: Arch, Debian/Ubuntu, Gentoo
Posts: 9

Original Poster
Rep: Reputation: 0
Filesystem was corrupted... solved.... thanks
 
Old 06-27-2005, 11:41 AM   #8
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
@ xtypestereotype

I'm trying to find a solution to your problem on google. Nothing interesting pops up, just says that file is related to Firefox, which you already know. I would either recommend you to use a Live CD and remove it by mounting the partition where that file is located. If you, however, can now use Firefox/Mozilla without a problem, just try to ignore that file ^_^. I must say that this is yet the weirdest thing I've seem in Linux so far...

@ zackarya
It's really a cool flash thing ^_^. Young Billy is the newbie we all were once, LOL 
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot delete item as root!! provkitir Linux - Newbie 10 03-25-2007 01:58 AM
Strange problem: can not delete file as root ?? hendrixx Linux - General 29 11-11-2004 12:46 AM
Delete as Root mtoedtli2 Linux - Newbie 3 07-14-2004 03:06 PM
can't load mandrake, says i dont have file permissions? wtf! agh help plz rApT0r Linux - Newbie 2 04-11-2004 03:26 PM
Tried to delete file as root but it says I don't have permission to delete it! beejayzed Mandriva 23 03-12-2004 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration