If I have a picture on an external device, and I try to open it with Gimp, it correctly launches the program but fails to open the image with the following error:
Opening '/media/fabio/66CB-CA37/DCIM/P1000837.JPG' failed: Could not open '/media/fabio/66CB-CA37/DCIM/P1000837.JPG' for reading: Permission denied
I found the following in the logs:
AVC apparmor="DENIED" operation="open" profile="snap.gimp.gimp" name="/media/fabio/66CB-CA37/DCIM/P1000837.JPG" pid=22873 comm="file-jpeg" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
So this seem to be caused by confinement. Is any interface available to allow this permission? What if I reinstall gimp as --classic
?
gimp 2.10.8 rev 130
snap 2.37.2
snapd 2.37.2
series 16
ubuntu 18.04
kernel 4.15.0-45-generic