webdav-docker
webdav-docker copied to clipboard
Folder permissions for delete/upload - with a file mount
I've taken the adaption of the dockerfile setting the permissions have the following mounts in my compose:
- /hdd/webdav:/webdav
- /hdd/magazines:/webdav/magazines
- /media/Documents/:/webdav/documents
So /hdd/webdav is a local folder to the machine. The other two are samba mounts.
My user has read/write to all these folders. And if I upload/delete to the /webdav folder it is fine. But the mounted folders have a persmissions error (I can see 403 in the logs).
Is the container using a www-data user? If I didn't have one of those on the host, should i make one, so I can set access?