fentas/docker-volume-davfs

Write error

ctonetworks opened this issue · 3 comments

I configured webdav for pcloud storage and I could access to the folder and explore files but when I try to create file show me this error:

Command:

touch example.txt

Response
touch: cannot touch 'example.txt': I/O error

Hmm, not sure didn't use it for a long time.
But I think we should merge upstream, maybe this will resolve things.

But despite this I/O error seems wired and most likely a host problem.
You could try to exec into the davfs plugin container and check if it is mounted correctly.

In the host I mount the same folder and I need to put "use_locks" to 0 for works, but I don't know where is this file to configure the driver? or I need to build it with this particular configuration?

Thanks for your quick answer

if you need use_lock I guess, for now, you would have to build the plugin for yourself and add it here
https://github.com/fentas/docker-volume-davfs/blob/master/Dockerfile#L14-L25

still a open todo to enable custom davfs config.

or add it as an option here https://github.com/fentas/docker-volume-davfs/blob/master/main.go#L279