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
This happens to me too on Xubuntu 12.04 (Thunar 1.2.3)
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)
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.
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")
After perusing the Thunar sources I'm thinking that it is a glib problem indeed (Thunar just calls g_file_trash)
Reopen if still reproducible with up-to-date version.
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
Same error on Xubuntu 15.04 beta2 (XFCE 4.12, Thunar 1.6.6)