BytemarkHosting / docker-webdav

Docker image for running an Apache WebDAV server
MIT License
364 stars 174 forks source link

Dangerous setup command #29

Open pavlm opened 3 years ago

pavlm commented 3 years ago

Host system file permissions easily can be destroyed when system folder mapped to webdav. This line is dangerous: chown -R www-data:www-data "/var/lib/dav"

ghost commented 2 years ago

Yes,my debian server's host folder had been changed when i use this docker image.

jeff47 commented 1 year ago

Not just dangerous... lazy design that severely limits the utility. I suggest trying sftpgo as a robust alternative that doesn't have this issue.