Skip to content

Instantly share code, notes, and snippets.

@fawad4real
Created April 21, 2021 06:02
Show Gist options
  • Save fawad4real/167a11ba78b5db892e82488fe73d5890 to your computer and use it in GitHub Desktop.
Save fawad4real/167a11ba78b5db892e82488fe73d5890 to your computer and use it in GitHub Desktop.
Overide permision on Wordpress to install themes and plugins in linux
Wordpress overide permision:
_____________________________
sudo chown -R www-data:myusername /var/www/html
sudo find /path/to/your/wordpress/install/ -type d -exec chmod 775 {} \;
sudo find /path/to/your/wordpress/install/ -type f -exec chmod 664 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment