sudo chown -R apache:apache /var/www/html/blog/
Created
June 21, 2019 22:03
-
-
Save loorlab/e1f6a734d0e08f7da640795ff9ebd3c0 to your computer and use it in GitHub Desktop.
WordPress on EC2 Requires FTP Credentials to Install Plugins - AWS
sudo chown -R <username>:<username> *
Changes ownership of all files and folders to your user account and user group.
sudo chown www-data:www-data -R wp-content/
Changes ownership of all files and folders in wp-content folder to www-data user and group. Www-data is the default Apache user and group.
find . -type d -exec chmod 755 {} \;
Set all directories permissions to 755
find . -type f -exec chmod 644 {} \;
Set all files permissions to 644
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo chown -R www-data:www-data /var/www/html/blog