How to get permissions for /var/www/html at laravel sail containers? #58226
Unanswered
progerWolf
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. 2 days ago i created blank laravel project installed sail. When i run sail up command i got next errors.
In my first try i run sail in podman in when i got this error i thought it is podman problems. I installed docker and tried another time i got that error again.
In my .env file i have WWWUSER=1000 WWWGROUP=1000, in main machine user id and group is 1000.
First I tried to ls /var/www/html as a sail user in container I got Permission denied.
sail@7653f1b0b1e8:/var/www/html$ ls
ls: cannot open directory '.': Permission denied
And also I tried to ls /var/www/html as a root in container, and I got Permission denied.
root@7653f1b0b1e8:/var/www/html# ls
ls: cannot open directory '.': Permission denied
Beta Was this translation helpful? Give feedback.
All reactions