Add one click "Fix Permissions"

I’ve noticed permissions have a tendency to need to be fixed from time to time, especially when migrating from another local dev solution, like MAMP. It would be super handy to have a one-click “Fix Permissions” button… maybe in the Utilities tab?

Hey @galen,

I like it!

Do you remember what files you had to fix? Also, what kind of error were you getting prior to fixing the permissions?

Hi @clay - long time no talk!

Usually the issues that pop up are related to installing, updating, or deleting plugins. WordPress will say it was unable to delete a folder, or something to that effect. I usually just run terminal commands to set all files to 644 and directories to 755, so I’m not sure exactly which files are getting fixed, unfortunately.

Yes, this would be very handy. I’ve just experimentally uninstalled the Jetpack plugin on a test site of mine, and Site Health is now showing lots of critical issues. A 1-click fix-up would be awesome.

1 Like

A button would be NICE!


Until then, here’s an example terminal command when in the wp-content directory:

find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;