Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-16-2007, 08:27 PM   #1
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Rep: Reputation: 31
as root can not delete files in users home

i'm using slak12

a few days ago this box has been really lagging logged in as joe.
i'm figuring maybe theres a lot a junk in joe's home.

so as root i goto /home/joe and do a clean up(since logged in as joe it's totaly lagged).

logged in as root using konqueror
selected file(s) "move to trash" i get
Could not write to file /home/.Trash-0/info/.mcop.trashinfo.
in shell:

rm -f [any file] or any try with rm "permission denied"
chown root:root * only gives "permission denied"

cant delete /home/joe

theres 8 files i never noticed before there

i'm stumped. right now i'd like to just dump the entire /home/joe dir!
all files there that are worth anything are symlinked to another drive or network.

anyone see this before oir can help me dump this dir?

Old 11-16-2007, 08:43 PM   #2
LQ Newbie
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
Rights issues

Can you switch to single user mode and try rm -rf /home/joe?
"telinit 1"
Old 11-16-2007, 09:12 PM   #3
Registered: Jun 2007
Posts: 53

Rep: Reputation: 15
try using "shred -fu /home/joe"
Old 11-16-2007, 10:52 PM   #4
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 658Reputation: 658Reputation: 658Reputation: 658Reputation: 658Reputation: 658
I practically never use the trash. However you had the same problem in the shell. What are the permissions of files in /home/joe, as well as the directories /home and /home/joe. Look with "getattr", "getfattr" and "lasttr" as well. If a file has the immutable bit set, even root can't delete files. If you are running selinux or apparmor, a misconfiguration could cause problems as well.

Also, look how the filesystem is mounted. If there was a problem with the filesystem, that partition might be mounted readonly.

As far as the server lagging, does top show anything interesting? If /home isn't on it's own partition, /var and /tmp might be full. I had a problem with YaST previously on my laptop. The /var/tmp directory was filling up with thousands of temporary directories, exceeding the inode limit.


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
Samba users cannot create directories / delete files habiem Linux - Server 1 09-21-2007 05:59 PM
Grant a user root privileges to add and delete users Maranza Linux - Security 6 11-02-2006 11:10 AM
Root delete files problems macushk Linux - Security 5 10-23-2006 06:55 AM
vsftpd: allow users to write and delete files me3 Linux - Software 4 03-04-2005 08:22 PM
log what files users create, delete etc. Goma_2 Linux - General 3 09-26-2003 07:12 PM

All times are GMT -5. The time now is 11:58 AM.

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