Merciadri Luca ha scritto:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Merciadri Luca <luca.mercia...@student.ulg.ac.be> writes:

Hello,

On my Debian Lenny, I am unable to empty the trash because of
permission problems. For example, I have a .jar file, and when I
choose to "Empty Trash," I receive:

"Error while deleting.
"/home/merci...4-1131.jar" cannot be deleted because you do not have
permissions to modify its parent folder."

Where is the trash folder located in my /home/?

Thanks.
--
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Thanks for your answers. It must be obvious, but how do you empty the
trash in a terminal? Do I have to delete the specified folder (if
any)?

Thanks.

- -- Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/


if you *really* have to:
$ cd ~/.local/share/Trash/files
$ ls
$ rm -fr *

... that is, what you posted before, I don't think there's a special command. You may put that in a script if you like the idea (remember to check that chdir succeeds...), but if I were you I'd try to fix the permission problem: does it happen with every file? can you reproduce it with a new file? If yes - what are the permissions of ~/.local/share/Trash? and so on


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to