GNOME Bugzilla – Bug 378615
No notification if emptying trash fails
Last modified: 2007-03-08 20:36:00 UTC
Sometimes trash includes files the user can't delete. For example some files which where put there working as sudo root. If I right click the trash icon and select 'Empty trash' it appears to do what I've asked for. The only way I could tell that it hadn't worked was by noticing that the icon still shows trash - normally thought once I've told it to empty I don't think about it any more. Other information:
Hmm doesn't it tell you that it encountered files it cannot delete? at least it does this for me -- Bug 354394 – Undeletable files and folders allowed into the bin
No, it didn't tell me anything. It just deleted what it could and silently skipped what it couldn't delete. Just now I'm unsure how to recreate this bug, what's a good way of trying to put an undeletable file in trash.
For GNome 2.16 and 2.17, I get a warning that it cannot delete some files to reproduce see Bug 354394 "Basically, files and folders with wrong permissions may end up in the bin. When purging the bin this fails because of missing permissions to erase the items of question: * (sub)folders or files (in subfolders) that the user lacks write permissions for * (sub)folders or files (in subfolders) that belong to other users"
*** This bug has been marked as a duplicate of 339596 ***