Permission issues when new directories are created in the web app #3576
Unanswered
rabol
asked this question in
Help needed
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I use webdock.io for my server as most things are installed by default and I have 'struggled' in the past to get the provision recipe to work.
I then create a new user (deployment user), the user is in the www-data group, add ssk key, I then add the user to the sudo group
deployment seems to work.... until... when users signup on my website I create a folder in the /storage/xxx for the user, as soon as I have one of these folders, then the deployment fails with a permission error when the view:cache command is executed
it fails on the 'user-specific' folders, which have www-data www-data as owner/group.
I wonder what I should do differently with my deployment user ?
It's a Laravel app
Thanks
Beta Was this translation helpful? Give feedback.
All reactions