Nautilus is following symbolic links when emptying trash
Bug #188361 reported by
Chris Coulson
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nautilus |
Fix Released
|
Critical
|
|||
nautilus (Ubuntu) |
Fix Released
|
Medium
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: nautilus
When a symbolic link to a folder is moved to trash in Nautilus, the contents of the folder that it links to are then erased when the trash is emptied. For example, Wine creates a link '~/.wine/
I've confirmed this by creating test folders containing empty files, linking to the folder, moving the link to trash and then emptying the trash. The contents of the folder are deleted.
This is on an up-to-date Hardy (Nautilus version 2.21.90-0ubuntu1
Related branches
Changed in nautilus: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nautilus: | |
assignee: | nobody → desktop-bugs |
Changed in nautilus: | |
status: | Unknown → New |
Changed in nautilus: | |
status: | New → Fix Released |
Changed in nautilus: | |
status: | Fix Released → New |
Changed in nautilus: | |
importance: | Unknown → Critical |
To post a comment you must log in.
Confirmed, here is a quick way to reproduce:
(1) Create a temporary folder (henceforth folder "A") and put some files in it that can be deleted (ie you dont care about.)
(2) Create another temporary folder which I will refer to as folder "B". Within folder B create a symlink to folder A.
(3) Move folder B to the trash in nautilus
(4) Empty the trash and notice all files in folder "A" are gone.
I think this should be a critical bug as it will delete files people do not expect to be deleted. The coreutils file manipulation programs do not follow symlinks this way so noone expects symlinks to be followed.