40

When I try to open a .psd file using gimp I get this error:

Opening '/media/anonoymous/Other's/Practise/bootstarp/design.psd' failed: Could not open '/media/anonoymous/Other's/Practise/bootstarp/design.psd' for reading: Permission denied

What should I do?

Zanna
  • 70,465
md alam
  • 501

4 Answers4

59

I was able to correct this error by giving the gimp snap access to the removable-media plug by entering the following command:

snap connect gimp:removable-media :removable-media

Best of Luck

SDsolar
  • 3,169
Andrew
  • 691
50

The Ubuntu Software program now has a way to set permissions on the page for the snap software with this issue. There is a 'Permissions' button under the name of the program.

The page for GIMP in the Ubuntu Software program, showing the Launch, Remove, and Permissions buttons

Click that, and then click the button next to where it says 'Read/write files on removable storage devices'

enter image description here

You will be prompted to enter your password. After that the problem is solved.

Ubuntu will regard internal drives other than the drive with the Ubuntu OS as removable storage devices too.

kim holder
  • 1,699
3

Gimp wouldn't open any files for me, even when I fixed the permissions. I deinstalled the snap version, and reinstalled with

sudo apt install gimp

and the problems went away.

  • This will only circuvent the problem. The problem ist the permissions of the snap package: when installing with apt you will have two separate gimp-installations. One as snap and one as deb. See @andrew s solution – jvoigt Jun 21 '21 at 05:52
1

I had an analogous problem but with .pat file. My problem was actually that the owner and the group of the file (check it by using the command ls -la) was set to root for some reason. I changed it with chwon myuser:mygroup myfile to the local user and the problem was solved.

Good luck.