These instructions assume that you already configured the WebDAV filesystem by following this article.
If you are mounting a WebDAV folder on Linux using the davfs2 FUSE filesystem, you may encounter the following error when trying to write a file to the WebDAV filesystem:
cp: cannot create regular file `test.txt': Input/output error
This is caused by the WebDAV filesystem not supporting file locks. The solution is to disable file locks in the davfs2 configuration file, located at /etc/davfs2/davfs2.conf. Add (or uncomment) the following line:
use_locks 0
Unmount and remount the WebDAV filesystem and writes should now work.




