【发布时间】:2020-05-13 11:10:20
【问题描述】:
我正在尝试在 linux ec2 实例上移植 ftp 服务器。 密码认证文件存在于 /etc/passwd-s3fs 中,权限为 600。 但是当我运行命令时:
$ s3fs bucketname /home/s3/s3mnt -o passwd_file=/etc/passwd-s3fs,nonempty
它显示以下错误:
s3fs: specified passwd_file is not readable.
也尝试了权限 640,但同样的问题。请帮忙。
【问题讨论】:
-
我认为你需要使用
passwd_file(下划线)而不是passwd-file(连字符)。 -
对不起,更正我正在使用
$ s3fs bucketname /home/s3/s3mnt -o passwd_file=/etc/passwd-s3fs,nonempty -
您可以尝试详细调试 -o dbglevel=info -f -o curldbg 还是尝试删除 nonempty
-
你能运行 ls -l /etc/passwd-s3fs 吗?
标签: amazon-web-services amazon-s3 amazon-ec2 s3fs