79106823

Date: 2024-10-20 10:28:31
Score: 0.5
Natty:
Report link

check your UID in WSL(not in container):

$ echo $UID
1001

here my non-root user UID in WSL is 1001 because I added an extra user long time ago,
so in laravel .env add:

WWWGROUP=1001
WWWUSER=1001

now sail user in devcontainer will have the same UID as my normal user in wsl problem fixed without using chown

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Eboubaker