Skip to content

Instantly share code, notes, and snippets.

@nasirkhan
Last active January 29, 2019 10:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nasirkhan/982b0a253a8bdd7807ae5c5f677f0186 to your computer and use it in GitHub Desktop.
Save nasirkhan/982b0a253a8bdd7807ae5c5f677f0186 to your computer and use it in GitHub Desktop.
Joomla File Folder Permission on Ubuntu server
#!/bin/bash
#
# Fix the folder and file permissions for Joomla installation on Ubuntu server
sudo chown -R www-data.www-data /var/www/html/joomla
sudo chmod -R 755 /var/www/html/joomla
# Following command endabled to option to update the extensions and core joomla cms as well.
# after updating need to fix the permission using the commands mentioned above.
sudo chown $USER:www-data -R /var/www/html/joomla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment