Skip to content

Instantly share code, notes, and snippets.

@SantoshSrinivas79
Last active August 7, 2022 11:11
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save SantoshSrinivas79/3400547 to your computer and use it in GitHub Desktop.
Save SantoshSrinivas79/3400547 to your computer and use it in GitHub Desktop.
Fix PyroCMS File & Folder Permissions All-In-One
sudo chmod -R 777 system/cms/cache
sudo chmod -R 777 system/cms/config
sudo chmod -R 777 addons
sudo chmod -R 777 system/cms/cache
sudo chmod -R 777 uploads
sudo chmod -R 666 system/cms/config/config.php
@RohitGoyani
Copy link

Really very useful... :)

@atwright147
Copy link

Hi,

Really useful gist but it's missing these two folders:

sudo chmod -R 777 assets/cache
sudo chmod -R 777 assets/page_types

@hsq
Copy link

hsq commented Jun 5, 2015

sudo chmod -R 755 addons
sudo chmod -R 644 system/cms/config/config.php
rest is ok.. be careful with your permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment