Skip to content

Instantly share code, notes, and snippets.

@khalil-tabbal
Created November 22, 2013 19:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khalil-tabbal/7605089 to your computer and use it in GitHub Desktop.
Save khalil-tabbal/7605089 to your computer and use it in GitHub Desktop.
#!/bin/bash
# this script let you automatically change permissions for PyroCMS installation
echo "Start Setting PyroCMS folders permissions"
chmod -Rf 777 assets/
echo "changing permissions for assets/cache"
chmod -Rf 777 system/cms/cache
echo "changing permissions for system/cms/cache/"
chmod -Rf 777 system/cms/logs
echo "changing permissions for system/cms/logs/"
chmod -Rf 777 uploads
echo "changing permissions for uploads/"
echo "PyroCMS Permissions successfully set"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment