Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save CiprianSpiridon/cb4928a840c71b7c554a3f9f9d7b6ff2 to your computer and use it in GitHub Desktop.
Save CiprianSpiridon/cb4928a840c71b7c554a3f9f9d7b6ff2 to your computer and use it in GitHub Desktop.
laravel freamework file permissions - Security

set all files to 644

sudo find /path/to/your/code -type f -exec chmod 644 {} ;

make all folders 755

sudo find code -type d -exec chmod 755 {} ;

make sorage and cache writable

sudo chmod -R ug+rwx storage bootstrap/cache

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