Laravel setup: permission denied

  • by

When in the directory of the app
sudo chmod -R ug+rwx storage bootstrap/cache

also check

ls -l ‘file or directory’
sudo chown -R apache:apache ‘file or directory’
sudo chmod -R g+w ‘file or directory’
make sure you user is part of the apache or www-data group

Try building the app with the intended user and not root


Leave a Reply