! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Symbolic link to folder in .gvfs result in trash can not found
Status:
RESOLVED: INVALID

Comments

Description sbrown 2012-02-17 01:22:26 CET
1. Use gigolo to mount a samba share.
2. a Symbolic link exists to folder on mounted share
3. Open thunar from symlink icon
4. Try to delete a file - get cannot find or create trashcan
5. Open thunar from icon for mount in gigolo window 
6. delete works fine
Comment 1 jorilx 2012-10-23 10:08:32 CEST
This happens to me too on Xubuntu 12.04 (Thunar 1.2.3)
Comment 2 jorilx 2012-10-23 12:05:18 CEST
Is it possible that gvfs (or glib) thinks that this is a local file and tries to create the trash directory inside $mountpoint i.e. ~/.gvfs? (Which isn't allowed)
Comment 3 sbrown 2012-10-23 13:15:14 CEST
Good hypothesis that it has to do with where ( or how ) its trying to create the trash folder.

Although why wouldn't they just use normal file system semantics ? Then it would just work.  But if they try to hack the symlinks making some assumptions about them, yes I could see that would be a problem.
Comment 4 jorilx 2012-10-25 14:58:02 CEST
I can't reproduce the problem on Xubuntu 12.10 (XFCE 4.10) because when I try to open a symlinked Samba directory, Thunar opens up but doesn't load any file (stays on "loading")
Comment 5 jorilx 2012-11-22 12:15:18 CET
After perusing the Thunar sources I'm thinking that it is a glib problem indeed (Thunar just calls g_file_trash)
Comment 6 Harald Judt editbugs 2015-04-17 16:13:42 CEST
Reopen if still reproducible with up-to-date version.
Comment 7 jorilx 2015-04-17 16:32:09 CEST
For the record, just tried with Xubuntu 14.04 LTS (XFCE 4.10, Thunar 1.6.3) but the problem is still there: "unable to find or create trash directory".
I'll try with later versions
Comment 8 jorilx 2015-04-17 17:29:41 CEST
Same error on Xubuntu 15.04 beta2 (XFCE 4.12, Thunar 1.6.6)

Bug #8480

Reported by:
sbrown
Reported on: 2012-02-17
Last modified on: 2015-04-17

People

Assignee:
Jannis Pohlmann
CC List:
3 users

Version

Attachments

Additional information