gimp icon indicating copy to clipboard operation
gimp copied to clipboard

Can't access to files on my second hard drive

Open lalejand opened this issue 4 years ago • 8 comments

Hi,

I installed Ubuntu 20.04 yesterday. I have two HD in my laptop:

  • SSD for / and /home
  • HDD for /data
  • symbolic links to Images, Videos and Music in my home folder that point to folders in /data

I installed Gimp via de Ubuntu Software center.

Gimp is unable to open any file that is on my HDD: image

I granted all imaginable permissions to Gimp: image But nothing, can't access to the files that are on the HDD.

On the other hand, Telegram, installed via snap also, can access to those files: image

lalejand avatar May 11 '20 10:05 lalejand

same problem here. its not even a different hard drive but just a different partition ( /data for my big files ) on the same disk. every other application, can access those files, oly gimp cant. everytime i want to use gimp; I have to move my files in my home folder . . . so i started to use another image editor :-1: surprised to see such a huge bug is unanswered since may . . .

neofutur avatar Oct 23 '20 10:10 neofutur

well since this snap seems to be mostly unmaintained, I finally decided to uninstall the gimp snap, and ended up removing all the snaps and disabling snap completely , then added the good old ppa. gimp is now working like a charm, and my computer is 2x faster.

neofutur avatar Oct 23 '20 11:10 neofutur

well since this snap seems to be mostly unmaintained, I finally decided to uninstall the gimp snap, and ended up removing all the snaps and disabling snap completely , then added the good old ppa. gimp is now working like a charm, and my computer is 2x faster.

How did you completely disable snap ?

lalejand avatar Oct 23 '20 11:10 lalejand

The removable-media interface does not permit access to /data. You need to mount your partition/drive in a location permitted by either the home interface or the removable-media interface.

lucyllewy avatar Oct 23 '20 13:10 lucyllewy

Snap app's have no access to ⋅ the root / system partition, except /media, /mnt, /run/media granted removable-media interface has been connected. ⋅ hidden files and folders ( those whose names begin with a . dot ) unless you mount folders using bind option.

Now @diddledan it seems in @lalejand 's case some snap have access to his data ( telegram ) and some other don't ( gimp ). So what can be the problem here ? Rights and permissions on the data ? Are these data stored on a non-linux partition ? Do these symlinks have hidden files/folders in their target path ?

Coeur-Noir avatar Nov 02 '20 21:11 Coeur-Noir

Same issue here - among the different snap-ed apps (blender, krita, gimp), only gimp has no access to /mnt/.

cjeanner avatar Apr 08 '21 07:04 cjeanner

@cjeanner did you connect the removable-media interface?

lucyllewy avatar Apr 09 '21 11:04 lucyllewy

@diddledan the mount is managed via /etc/fstab.... but in the end, after a quick check, there's a ppa with a newer version. Also, seeing the snap didn't move for a long time (and this bug open for about a year now), I've moved away and took the ppa.

cjeanner avatar Apr 09 '21 11:04 cjeanner