Requirement: Statamic v2.x Version: 0.0.1 Alpha
This project has not been widley tested, and only works for sites have not been moved above the web root. Only use this if you have a good understanding of file permissions as this could break your entire website, if the permissions are set wrong.
A CLI tool to help correct & Secure file and folder permissions for Statamic
- Rename the folder
Permissionsand copy it to yoursite/addonsfolder
- Change the seetings in your enviroment file (samples found in sample.env)
- Use
sudo php please permissions:fixfrom the command line.
PERMISSIONS_LOCKED_USERandPERMISSIONS_LOCKED_GROUPshould propaly be set to the user that you use to edit / deploy code.- Using the
PERMISSIONS_LOCK_STATAMICoption will break the web updater, but some of us want to only be able to update Statamic via the CLI.