Trash applet : no warning when a file can't be deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Applets |
Confirmed
|
Medium
|
|||
gnome-applets (Ubuntu) |
Triaged
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: gnome-applets
When I open the Trash folder (Nautilus), I can empty it with the button "emtpy trash". Then, if a file cannot be deleted for any reason (I had a subfolder that belonged to nobody and was locked), a warning appears asking to ignore the file or abort (so the remaining files can be deleted).
When using the "empty trash" option from the applet context menu, this warning does not appear and the operation aborts, leaving subsequent files in the trash and the user not knowing why it can't empty itself.
UPDATE:
-----------
I've had the problem again and I can now reproduce it. It seems to come from a specific mix of root/user file access in subdirectories.
1. create a directory as simple user : mkdir testfolder1
2. inside this directory, create another one as root : sudo mkdir testfolder2
3. in that one, put a user file (you'll have to move it as root)
You then get the following structure : testfolder1 (user) -> testfolder2 (root) -> testfile1 (user)
Put testfolder1 in the trash and try to empty it from the context menu of the Gnome applet: you can't because of the folder with root access and you don't get an error message. Also, You can't move the content of the Trash elsewhere (with Nautilus), you'll have an error message related to access rights.
It seems that it's the combination of user inside root inside user directory that triggers the bug.
Maybe duplicate of https:/
description: | updated |
Changed in gnome-applets: | |
status: | Invalid → Confirmed |
Changed in gnome-applets: | |
status: | Confirmed → Triaged |
Changed in gnome-applets: | |
status: | Unknown → New |
Changed in gnome-applets: | |
status: | New → Confirmed |
Changed in gnome-applets: | |
importance: | Unknown → Medium |
Hello,
Thank you for your bug report.
I apologize but I am a tad confused. I am unable to reproduce this issue. If a directory does not belong to me, I simply can not move it to the trash. "Unable to move to trash: Access denied". Please tell me how I could go about reproducing the problem with a short example. Also what version of Ubuntu are you running?