sudo chown www-data:www-data -R * # Let Apache be the owner
sudo find . -type d -exec chmod 755 {} \; # Change directory permissions (rwxr-xr-x)
sudo find . -type f -exec chmod 644 {} \; # Change file permissions (rw-r--r--)
Last active
December 18, 2023 23:20
-
-
Save itsmikita/1289a76357b1a0dea5e7ce15a9518596 to your computer and use it in GitHub Desktop.
WordPress file permissions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment