Results 1 to 10 of 13
Ubuntu 12.04 / custom remix = Ubuntu core +XFCE4 +custom selection Gnome system tools (-Gnome shell) +custom metapackages w/ custom deps
I can't empty the root trash.
If I
Code:
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-27-2012 #1
Locked out of ~/home/.Trash-0 and no idea why
Ubuntu 12.04 / custom remix = Ubuntu core +XFCE4 +custom selection Gnome system tools (-Gnome shell) +custom metapackages w/ custom deps
I can't empty the root trash.
If I/ right cick / delete I can't empty it.Code:gksudo thunar
If IorCode:sudo chown -R <user> ~/home/.Trash-0/*
orCode:sudo chown -R <user> ~/home/.Trash-0/files/*
I can't empty it in the GUI or the terminal. (And the owner *does not change*; instead it throws a no such file / dir error message.)Code:sudo chown -R <user> ~/home/.Trash-0/info/*
If II can't empty the subfolders.Code:sudo -i cd /home/.Trash-0/info rm -rf * cd /home/.Trash-0/files rm -rf *
And I don' think it's anything I did when I was building. I've found tons of posts with the same complaint. I just can't figure out any way to fix it and I've got about 200MB of crap in there I'd like to dump.
- 12-27-2012 #2
And
won't empty it eitherCode:sudo -i rm -rf /root/.local/share/Trash/*
- 12-27-2012 #3Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 2,563
If you are trying to empty the Trash sub-folders (files, info) for the /root user, you can use gksudo thunar and navigate to the file and info folders, left click a file there to highlight it and then hold down the Shift+Delete keys. You should get prompted asking if you really want to delete click OK and it should delete. This was the only thing that worked for me on an earlier version of Ubuntu.
The last command you posted should have gone in to the file and info directories:
Don't understand your earlier chown commands. It looks like the user Trash location is different than a standard Ubuntu?cd /root/.local/share/Trash/
rm -rf files/*
- 12-27-2012 #4
- 12-27-2012 #5
When I was running Ubuntu, my trash files were located in ~/.local/share/Trash. Is this no longer the case?
Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 12-28-2012 #6
Mine are in root/home/.Trash-0/* with two sub folders = files and info.
- 12-28-2012 #7Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 2,563
I would not expect that to work to empty the files and info directories if they are not empty.rm -rf /root/.local/share/Trash/*
I have Ubuntu 11.10 installed and the Trash directories are where they have been in the past as posted by jayd512:
And the /root user Trash is in the same location:ls -la /home/user/.local/share/Trash/
total 20
drwx------ 2 user user 4096 Nov 21 12:01 files/
drwx------ 2 user user 4096 Nov 21 12:01 info/
I suppose it could be xfce and thunar. It also seems weird that you say they are in root/home/.Trash-0 as the root user has its own directory in the / of the filesystem; /root and it is not under /home. Neither is there a /home sub-directory in /root. Haven't seen that in any of the Ubuntu installations or its derivatives.ls -la /root/.local/share/Trash/
total 16
drwx------ 2 root root 4096 Jun 16 2012 files/
drwx------ 2 root root 4096 Jun 16 2012 info/
- 12-28-2012 #8
I'm working from memory at work and I'm senile. When I get home and have the machine in front of me I'll update if I'm wrong or if its been moved.
- 12-28-2012 #9Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 2,563
Welcome to the club.I'm working from memory at work and I'm senile.
- 12-28-2012 #10
OK, in the GUI (sudo thunar) filesystem "/home/.Trash-0/info" and "/home/.Trash-0/files" are now the locations of root trash.
So is the syntax "~/home/.Trash-0/info/*" , etc correct?
And in english does that translate to "root/home/.Trash-0"
BTW, the shift del trick worked. Thankx yancek


Reply With Quote

