Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-24-2006, 08:35 PM
|
#1
|
LQ Newbie
Registered: Oct 2006
Location: Bindura, Zimbabwe
Posts: 2
Rep:
|
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
|
|
|
10-24-2006, 11:37 PM
|
#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:
|
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/
|
|
|
10-25-2006, 08:26 AM
|
#3
|
Member
Registered: Aug 2005
Distribution: Debian, OpenBSD, PFsense
Posts: 73
Rep:
|
b0119350//.mozilla/default/ll55fl7g.slt/lock <- he might have mozilla open at the momement, use lsof to check for open files.
|
|
|
All times are GMT -5. The time now is 06:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|