Skip to content

FILE UPLOAD FAILS: /TMP DIR is set to USER:GROUP 1000:1000 with restrictive write permissions #284

Answered by jaydrogers
damanic asked this question in Q&A
Discussion options

You must be logged in to vote

You need to make sure everything matches your host user's id. So if your user in WSL is 1000, then you want to change www-data to 1000 in the container.

See his example: https://github.com/serversideup/spin/blob/main/templates/laravel/Dockerfile

Be sure to use the beta images to follow my example with docker-php-serversideup-set-id.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by damanic
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants