macOS Catalina doesn't allow MAMP permission to certain folders (Documents, Downloads, Desktop)

by Tony   Last Updated October 09, 2019 20:12 PM - source

I have been using MAMP for a few years now, I just updated to macOS Catalina, it seems that macOS Catalina is blocking permissions to the Documents folder among a few others (such as Downloads and Desktop).

I have already checked the permissions on these files with terminal and that doesn't seem to be the issue.

Additionally I have

The server gives me this error:


You don't have permission to access /Users/xxx/Downloads/index.html on this server.

The Apache log gives me this error:

[Wed Oct 09 12:31:30 2019] [error] [client ::1] (1)Operation not permitted: file permissions deny server access: /Users/xxx/Downloads/index.html, referer: http://localhost/Users/xxx/

It seems to be an issue with the way macOS is restricting permissions to certain directories. In the settings panel under Security and Privacy there are additional settings for file access, I have granted MAMP those permissions, in addition I have also went inside the MAMP folder and granted Apache's httpd the same permissions, still no luck.

Does anyone have a work around? This is causing me such a headache in development.

Related Questions

Catalina - USB Serial Cables seem to be broken

Updated May 18, 2020 21:12 PM