LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 10-24-2006, 09:35 PM   #1
LQ Newbie
Registered: Oct 2006
Location: Bindura, Zimbabwe
Posts: 2

Rep: Reputation: 0
Root denied permission to remove users' files

I have tried without success to remove some users files that are locked up in the system. I can't even rename or copy the troublesome file(s). I got the following errors when I tried to remove user btatira's home directory, which is located in the second harddrive /b. Actually, running Mozilla in btatira's account will cause the system to crash (reboot); but now I can't remove it. I am the administrator on this SuSE 9.0 system at a campus dept.
maths:/b # rm -r btatira/
rm: cannot lstat `btatira//.mozilla/direct/988aw6ks.slt/Cache.Trash/Trash/Cache/_CACHE_001_': Permission denied

I also got this nasty message when I tried to remove user b0119350 from the /b location.

maths:/b # rm -r b0119350/
rm: cannot lstat `b0119350//.mozilla/default/ll55fl7g.slt/lock': Permission denied
Old 10-25-2006, 12:37 AM   #2
Senior Member
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
what is the output of:
ls -l btatira//.mozilla/direct/988aw6ks.slt/Cache.Trash/Trash/Cache/_CACHE_001_
it looks like you are trying to remove the users entire home directory. maybe something like this:
chmod -R 777 btatira/
rm -rf btatira/
Old 10-25-2006, 09:26 AM   #3
Registered: Aug 2005
Distribution: Debian, OpenBSD, PFsense
Posts: 73

Rep: Reputation: 15
b0119350//.mozilla/default/ll55fl7g.slt/lock <- he might have mozilla open at the momement, use lsof to check for open files.


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
permission denied for root in FC4: why can't I modify own files? ixis Linux - General 4 12-10-2005 07:05 PM
su root permission denied exodist Linux - Software 4 07-23-2004 04:34 PM
useradd problems - permission denied on /home/* for new users lowpro2k3 Red Hat 1 02-10-2004 12:18 AM
root permission denied xmaspie Linux - Newbie 2 11-05-2003 02:05 PM
sftp users can remove files without permission tunedLow Linux - Networking 6 03-06-2003 04:12 PM

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