Project

General

Profile

Bug #10944

Cannot Trash From Folder Opened Via Symbolic Link

Added by Tyrin Price over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Lighttable
Target version:
-
Start date:
03/07/2016
Due date:
% Done:

0%

Affected Version:
2.0.1
System:
other GNU/Linux
bitness:
64-bit
hardware architecture:
amd64/x86

Description

I have my "image" directory on a separate partition mounted to /srv/storage with a symbolic link to ~/Pictures. I get an error when trying to trash images from the collection if I have navigated to the folder using the symbolic link. The error says "Unable to find or create trash directory." If I have opened the folder directly as /srv/storage/images then I am able to trash images from Lighttable.

For example, if I open a folder for a collection as ~/Pictures/Cameras/NIKON\ D7100/160306/ and try to trash an image I get "Unable to find or create trash directory." If I open the folder as /srv/storage/images/Cameras/NIKON\ D7100/16036/ and try to trash an image it works without error.

History

#1 Updated by Tobias Ellinghaus over 3 years ago

We might have to resolve symlinks before calling g_file_trash().

#2 Updated by Julien CHIQUET over 3 years ago

I experiment the same error message here (Ubuntu 14.04 LTS) with all my pictures located on an external drive mounted in /media/hd1/

Also available in: Atom PDF