Gimp permission problems after Catalina upgrade

I can't access my downloads, documents, or desktop from Gimp. I get the following message.


Could not read the contents of Downloads

Error opening directory '/Users/username/Downloads': Operation not permitted



MacBook Pro

Posted on Oct 8, 2019 3:39 PM

Reply
Question marked as Top-ranking reply

Posted on Nov 1, 2019 7:36 AM

GIMP 2.10.14 has been released yesterday, and the releasenotes contain this paragraph (emphasis mine):


Improvements for the macOS version

Alex Samorukov introduced various improvements to the macOS build of GIMP.

First and foremost, GIMP is now compatible with macOS Catalina and doesn’t have the file permission issue that the 2.10.12 build had.

Secondly, the DMG will now open a window with an Applications shortcut that explains how to install it. He also added some fixes for command line users.

Finally, Alex built the new version with updated 3rd party components. Among other things, this means support for color profiles in HEIF/HEIC files.


Download is still in progress, but I really hope this has been fixed as announced.


Similar questions

28 replies

Oct 14, 2019 8:46 PM in response to Bradley Ross

Maybe there is a problem with some apps that they needs gain permissions to write and read some critical folders in macOS Catalina like Desktop, Documents, Downloads, etc. However, if you give total access to this apps for read and write inside your hard drive, the problem continues... But I only know one application that requested total access to my hard drive (CleanMyMac) in this case this app asked me about 2 times for permission but I don't remember exactly what kind of access this app asked.

Oct 11, 2019 3:34 AM in response to chriger

You don't have to move it to the desktop. It doesn't matter where the file is, a lot of programs don't have permission to READ from user-folders and the /var folder for instance. They seem to be able to write without a problem, it's the reading that is causing the prompt. So that does mean that you'll have to discard the prompt every time one of these programs (Inkscape, GIMP, MAMP are a few I came across) and you'll have to open files by right clicking from the finder program. You can't read directly from the programs, so the 'open' function there doesn't work either...


seems like apple is the only one that can fix this. It's definitely a Catalina problem. We now have to either ignore prompts (which is not an option for MAMP, that just fails) or use folders that are not in our user-folder trees, which makes everything a big mess...

Oct 14, 2019 7:30 PM in response to ferroequinologist

You seem to have slightly different file names


What I did was cd/Applications/GIMP-2.10.app/Contents/MacOS

./gimp


BradleyRossMacBook:MacOS bradleyross$ ./gimp


2019-10-14 22:14:25.061 gimp-bin[53568:2295958] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. 


Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id or /etc/machine-id: Failed to open file “/var/lib/dbus/machine-id”: No such file or directory




(gimp-bin:53568): GLib-GObject-WARNING **: 22:14:33.443: invalid cast from 'GtkMenuBar' to 'GtkWindow'




(gimp-bin:53568): Gtk-CRITICAL **: 22:14:33.443: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed


gimp_color_transform_new: using babl for 'Display' -> 'GIMP built-in sRGB'


gimp_color_transform_new: using babl for 'GIMP built-in sRGB' -> 'Display'


gimp_color_transform_new: using babl for 'Display' -> 'GIMP built-in sRGB'


gimp_color_transform_new: using babl for 'GIMP built-in sRGB' -> 'Display'


2019-10-14 22:16:54.585 file-png[53606:2297671] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. 


gimp_color_transform_new: using babl for 'Display' -> 'GIMP built-in sRGB'


gimp_color_transform_new: using babl for 'Display' -> 'GIMP built-in sRGB'


void gimp_gegl_convert_color_profile(GeglBuffer *, const GeglRectangle *, GimpColorProfile *, GeglBuffer *, const GeglRectangle *, GimpColorProfile *, GimpColorRenderingIntent, gboolean, GimpProgress *): converting buffer took 0.0253 seconds


... ... ....


I assume that MacOS/gimp is a shim program written in Objective-C. Does this sound right? When running the application in this manner, I think that it using the file permissions for the terminal rather than the GIMP application. Does this make sense to anyone who is more familiar with the code. Perhaps the Objective-C programs in the MacOS directory need to be updated?



Oct 15, 2019 9:08 PM in response to BDHIV

10-15-2019




GIMP 2.8. and Catalina 10.15




I found my solution(s) until Apple and Gimp can work this out.




1 - A workaround for the meantime is by using the terminal - You need to do this everytime you want to use Gimp


$ cd /Applications/Gimp.app


$ ./Contents/MacOS/Gimp




2 - Another workaround is, I simply dragged my Gimp work folder 'MyGimpWorkFolder', located on the Desktop, to my HardDrive (Macintosh HD) under USERS - MACINTOSH HD/USERS/name_of_user/MyGimpWorkFolder


A - LAUNCH GIMP


B - In Gimp - OPEN FILE - Now, instead of opening the Desktop and getting the dreaded 'Could not read the contents of Desktop' (this is where my Gimp work folder was)  OPEN the name_of_user and folder name


C - This will now work everytime when you launch Gimp instead of using the Terminal workaround

Oct 15, 2019 9:09 PM in response to BDHIV

10-15-2019




GIMP 2.8. and Catalina 10.15




I found my solution(s) until Apple and Gimp can work this out.




1 - A workaround for the meantime is by using the terminal - You need to do this everytime you want to use Gimp


$ cd /Applications/Gimp.app


$ ./Contents/MacOS/Gimp




2 - Another workaround is, I simply dragged my Gimp work folder 'MyGimpWorkFolder', located on the Desktop, to my HardDrive (Macintosh HD) under USERS - MACINTOSH HD/USERS/name_of_user/MyGimpWorkFolder


A - LAUNCH GIMP


B - In Gimp - OPEN FILE - Now, instead of opening the Desktop and getting the dreaded 'Could not read the contents of Desktop' (this is where my Gimp work folder was)  OPEN the name_of_user and folder name


C - This will now work everytime when you launch Gimp instead of using the Terminal workaround

Oct 17, 2019 11:21 AM in response to BDHIV

I've temporarily solved this by accessing the desktop (and other folders) via the terminal, and then starting Gimp manually from the terminal (it seems that Gimp inherits the permissions from the parent process). It's cumbersome, but it works.


Start terminal (or iTerm like I use)

$ cd ~/Desktop

This will open a dialogue asking if you want to give Terminal permissions to access the desktop. Do this for every folder you want to access.


Then do

$ /Applications/GIMP.app/Contents/MacOS/Gimp

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Gimp permission problems after Catalina upgrade

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.