Skip to content

Instantly share code, notes, and snippets.

@ronykader
Last active March 16, 2024 20:55
Show Gist options
  • Save ronykader/859834a7b8d96c0f4f9e2e39046e99e9 to your computer and use it in GitHub Desktop.
Save ronykader/859834a7b8d96c0f4f9e2e39046e99e9 to your computer and use it in GitHub Desktop.
For resolving permission-related errors in Laravel Sail, consider the following helpful tips.
If you're facing permission problems while running your project in a browser, creating a controller, using Composer, or adjusting configurations, this method can assist in resolving your issues.
sudo chmod -R 777 storage/
sudo chmod -R 777 bootstrap/cache
./vendor/bin/sail bash
cd ..
chown -R sail:sail html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment