Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Permission denied when running sail up

I've installed laravel 8 and sail, but when I try to run sail up I get this error

vendor/bin/sail: line 14: /home/cerb/projects/timeless-treasures/vendor/laravel/sail/bin/sail: Permission denied
like image 933
cerberusphp Avatar asked Nov 01 '25 23:11

cerberusphp


1 Answers

I was running ubuntu on WSL2 and sail up was giving me this permission denied error. You can open your linux/wsl terminal and go one directory up using cd .. then try

chmod -R 775 <project directory name>

this will grant all permissions to your project directory and sail up will start working.

like image 115
Hasaan Ahmed Avatar answered Nov 03 '25 14:11

Hasaan Ahmed



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!