LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 10-24-2006, 08:35 PM   #1
suse_buse
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-24-2006, 11:37 PM   #2
johnson_steve
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:
Code:
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:
Code:
chmod -R 777 btatira/
rm -rf btatira/
 
Old 10-25-2006, 08:26 AM   #3
mastrboy
Member
 
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.
 
  


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


All times are GMT -5. The time now is 03:48 AM.

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