After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 76050 - Trash breaks if the home directory is a symlink
Trash breaks if the home directory is a symlink
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Trash
1.0.x
Other Linux
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-03-23 13:03 UTC by Jonas De Vuyst
Modified: 2005-01-22 18:09 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Jonas De Vuyst 2002-03-23 13:03:15 UTC
When setting up the home directory as a symlink to a directory, the trash
breaks.

Behavior:

- When dragging an item to the trash, nothing happens.

- When right clicking a file and choosing Move To Trash, a dialog pops up
saying that the file couldn't be moved to the trash. The dialog also asks
if the file should be deleted.

Tested only Mandrake 8.2.
Comment 1 Dave Bordoley [Not Reading Bug Mail] 2002-04-22 23:17:15 UTC
where are you setting the home directory to a symlink? are you using
the navigation preference?
Comment 2 Jonas De Vuyst 2002-04-23 10:01:25 UTC
My /home partition is encrypted and I wanted to create one user for
whom her home directory wouldn't be encrypted, so that she wouldn't
have to enter the password when booting up the computer (Mandrake
skips mounting encrypted partitions if you don't enter anything within
15 seconds).

To do this I create a symlink from both the root's partition
/home/user and from the encrypted partition.

The correct change would of course be to change the entry in
/etc/passwd but I figured I would break less if I create a symlink
(like applications that store filenames for whatever purpose).
Comment 3 Luis Villa 2002-04-26 00:55:28 UTC
Is this still the case with GNOME2 nautilus? I admit I'm not quite
willing to set up a symlinked home directory to test :)
Comment 4 Dave Bordoley [Not Reading Bug Mail] 2002-06-07 06:58:49 UTC
Could this be related to that whole is_local issue???
Comment 5 Mark Finlay 2003-01-28 21:22:27 UTC
I can confirm this with nautilus 2.2
Comment 6 Murray Cumming 2003-07-28 15:44:05 UTC
2.3 uses the $HOME/Desktop directory, so it would be nice to know if
this is still a problem with that.
Comment 7 Adam Moshier 2004-08-20 16:17:24 UTC
I'm able to get a problem deleting a file in Nautilus 2.6.0

There's three ways to delete a file after selecting it: hit the delete key,
right click and select "move to trash", or drag and drop the file on the trash.

I can touch two files ~/test and ~/Desktop/test and get different behaviors for
the three delete actions.

The ~/Desktop/test delete works for "right click" and "drag and drop" but does
nothing for the delete key.

The ~/test delete bring up the "Can't move to Trash" dialog window discussed above.
Comment 8 Sebastien Bacher 2005-01-22 18:09:43 UTC
works fine (drag and drop, context menu and keyboard keybinding) here with
nautilus 2.9.2, bug closed. Feel free to reopen if you get the issue with the
new versions