读写 davfs2 挂载的 WebDAV 挂载中的文件时出现 Input/Output error

36 天前
 eggt

linux 上挂载了 alist 的 webdav ,能够挂载成功,也能分别进入目录,但就是不能写,报错 Input/output error, 这个怎么解决?

pi@raspberrypi:~ $ sudo mount -t davfs -o noexec  https://<hostname>:5244/dav testmount
Please enter the username to authenticate with server
https://<hostname> or hit enter for none.  
  Username: <username>
Please enter the password to authenticate user XY with server
https://<hostname> or hit enter for none.
  Password:

pi@raspberrypi:~ $ cd testmount/
pi@raspberrypi:~/testmount $ ls
GoT  image.png  lost+found  old
pi@raspberrypi:~/testmount $ cp image.png ~
cp: cannot open 'image.png' for reading: Input/output error
444 次点击
所在节点    问与答
4 条回复
AoEiuV020JP
36 天前
大概率 alist 的问题,alist 的 webdav 就是个残废,
eggt
36 天前
@AoEiuV020JP 但是 mount 阿里云自己的 webdav 服务,也是这样
AoEiuV020JP
36 天前
@eggt #2 那不知道了, 我有用过坚果云 webdav 和 docker twizzel/webdav, linux davfs2 挂载使用正常,
这种报错应该是要在 webdav 服务端看错误日志的,
eggt
36 天前
@AoEiuV020JP 刚更新了 https://github.com/messense/aliyundrive-webdav 的最新镜像,使用阿里云的 webdav 能正常读了。那就是 alist 的问题了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1039544

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX