Skip to content
Advertisement

Worpress file permisions and ownership after migration

I am using wordpress on mac and I did a migration to a new macbook, since then I have been having loads of problems with file permision and ownership.

First I was having the:

JavaScript

I fixed this by adding this entry to the wp-confing.php

JavaScript

Then when I tried to update a plugin, I got the:

JavaScript

And I fixed that by changing the owner from me to _www

JavaScript

And now I can update plugins, but I cannot edit the files with an editor cause me does not have access to the files and vscode says:

JavaScript

I have tried:

JavaScript

But it still does not let me write

Advertisement

Answer

I found the solution to update plugins, core wordpress and also edit files all in my local version on mac with an nginx server.

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement