标签: davfs2

webdav davfs2 输入/输出错误

我在 Linux 系统中配置了一个 box.com 帐户,因此用户可以将其安装在某个安装点并访问其内容。它在 fstab 中声明为:

https://www.box.com/dav /media/box davfs rw,user,noauto 0 0
Run Code Online (Sandbox Code Playgroud)

挂载帐户的用户具有 ~/.davfs2/secrets ,其中包含以下内容:

/media/box <username> <password>
Run Code Online (Sandbox Code Playgroud)

用户可以毫无问题地挂载并列出已挂载的文件夹,但是在尝试将文件从 box.com 复制到我们的本地计算机时,这会给我们带来一些问题。我已经尝试了以下结果:

cat /media/box/example_file.txt => Will output the contents of the file
cp /media/box/example_file.txt /tmp => will give the I/O error
wc -l /media/box/example_file.txt => will give the I/O error as well
touch asd && cp asd /media/box && ls /media/box => lists asd in /media/box
Run Code Online (Sandbox Code Playgroud)

我试过设置

use_locks 0
Run Code Online (Sandbox Code Playgroud)

在 /etc/davfs2/davfs2.conf 中,但它没有解决问题。

任何可能阻止系统正确访问 box.com 挂载点的线索?

linux webdav input davfs2

11
推荐指数
0
解决办法
1546
查看次数

标签 统计

davfs2 ×1

input ×1

linux ×1

webdav ×1