Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save joshuapekera/4a0a4b1ce38b6b3bf818 to your computer and use it in GitHub Desktop.

Select an option

Save joshuapekera/4a0a4b1ce38b6b3bf818 to your computer and use it in GitHub Desktop.
#!/bin/bash
# this script let you automatically change permissions for a PyroCMS project
echo Start Setting PyroCMS Permissions
chmod -Rf 777 assets/
echo changing permissions for assets/
chmod -Rf 777 uploads/
echo changing permissions for uploads/
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
echo PyroCMS Permissions successfully set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment