G
G
Gizaster G2019-10-09 18:00:36
Apache HTTP Server
Gizaster G, 2019-10-09 18:00:36

Why can't MAMP read htaccess after upgrading to Mac OS Catalina?

After upgrading to mac os catalina MAMP (specifically apache) gives a 403 error and writes in the log:
[Wed Oct 09 16:50:38 2019] [crit] [client ::1] (1)Operation not permitted: /Users/ gz/Documents/MAMP/APP/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
worked like clockwork before update, no parameters changed, code didn't change, read and write permissions..
how to bring it back to life ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Inviz Custos, 2019-10-09
@Gizator

Because now, by default, third-party software does not have access to many things without your permission.
Try to go to the desktop or documents in the console - you will be asked for permission to do this.
To solve this, go to:
System Preferences -> Security and Protection -> Privacy -> Files and Folders
And add Apache there, and for it access rights to the Documents folder.
Terminal example:
Or just move your project to another location.
For example, /Users/gz/MAMP

M
mchapiro, 2019-10-15
@mchapiro

I found out that only the helper needs access. It itself requests access to the folder if it is removed from the Files and Folders list in System Preferences.
5da5a53c8099b966057246.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question