V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
eggt
V2EX  ›  问与答

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

  •  
  •   eggt · 12 天前 · 267 次点击

    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
    
    4 条回复    2024-05-10 17:57:36 +08:00
    AoEiuV020JP
        1
    AoEiuV020JP  
       12 天前
    大概率 alist 的问题,alist 的 webdav 就是个残废,
    eggt
        2
    eggt  
    OP
       12 天前
    @AoEiuV020JP 但是 mount 阿里云自己的 webdav 服务,也是这样
    AoEiuV020JP
        3
    AoEiuV020JP  
       12 天前
    @eggt #2 那不知道了, 我有用过坚果云 webdav 和 docker twizzel/webdav, linux davfs2 挂载使用正常,
    这种报错应该是要在 webdav 服务端看错误日志的,
    eggt
        4
    eggt  
    OP
       12 天前
    @AoEiuV020JP 刚更新了 https://github.com/messense/aliyundrive-webdav 的最新镜像,使用阿里云的 webdav 能正常读了。那就是 alist 的问题了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4919 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 08:05 · PVG 16:05 · LAX 01:05 · JFK 04:05
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.