
I have something stuck in my Trash folder that I can't delete because root owns it. Where is the trash directory stored in Ubuntu 8.04? It was easy when it was just ~/.Trash, but I've no idea where it is now -- I can't get into trash:/// through the command line. Makes me wish there was a 'delete as root/administrator' option in the right-click context menu. Sandy

2008/9/2 Chakat Sandwalker <sandwalker(a)gmail.com>:
I have something stuck in my Trash folder that I can't delete because root owns it. Where is the trash directory stored in Ubuntu 8.04? It was easy when it was just ~/.Trash, but I've no idea where it is now -- I can't get into trash:/// through the command line. Makes me wish there was a 'delete as root/administrator' option in the right-click context menu.
~/.local/share/Trash

I have something stuck in my Trash folder that I can't delete because root owns it. Where is the trash directory stored in Ubuntu 8.04? It was easy when it was just ~/.Trash, but I've no idea where it is now -- I can't get into trash:/// through the command line. Makes me wish there was a 'delete as root/administrator' option in the right-click context menu.
~/.local/share/Trash
Also, trash is per-device. If your item is on a USB key, the trashed item will be under /media/whatever/, rather than in ~. Craig

Something I've found useful when working with external media in Konqueror (KDE) is holding down "shift" and then "right-clicking" what you want to delete, gives you the option to *delete* the file/s rather than move to trash (which is often a hidden folder created on the media you are actually trying to free up some space on!). I am not sure at present what the lastest Dolphin (KDE new file manager) is in this regard. Chris

2008/9/2 Chris O'Halloran <cmoman(a)gmail.com>:
Something I've found useful when working with external media in Konqueror (KDE) is holding down "shift" and then "right-clicking" what you want to delete, gives you the option to *delete* the file/s rather than move to trash (which is often a hidden folder created on the media you are actually trying to free up some space on!). I am not sure at present what the lastest Dolphin (KDE new file manager) is in this regard.
Doesn't work in gnome .. there is an option for a 'really delete' menu entry, but it still won't delete files you don't have write permission for. If you get a file root owns in .Trash you have to be root to delete it. alt-F2 `gksu nautilus` perhaps, then you can empty the trash from there? -- This email is for the intended recipient only. If you are not the intended recipient you must burn your computer, while standing on one foot and chanting the entire jabberwocky. The opinions expressed here are not necessarily the opinions of the person who expressed them.
participants (4)
-
Bruce Kingsbury
-
Chakat Sandwalker
-
Chris O'Halloran
-
Craig Box