set_moutpoint_attribute(3482): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40755)
s3fs: could not determine how to establish security credentials
Any solutions or suggestions of things to try would be greatly appreciated!
"s3fs: could not determine how to establish security credentials" message means that s3fs could not find any credential(/etc/passed-s3fs, $HOME/.passwd-s3fs etc...).
It seems that your procedure is no problem, but you got this message.
So I think that HOME environment is something wrong as possible.
If you can, you try to copy your $HOME/.passwd-s3fs to /etc/passwd-s3fs and cheek to run s3fs.
Regards,
thank you, I tried what you suggested and it worked!
if you ran the s3fs command with sudo, but had the .passwd-s3fs file in your own account's $HOME, that could account for why it failed, and also why it mentioned PROC(uid=0, gid=0) in the output. it may have been looking for the file in root's home directory.
把/etc/passwd-ossfs的权限改成你要启动的普通用户就行了。
Note that for me using fstab didn't auto-remount on reboot, likely due to networking services not being enabled at the time of the boot mount, so I'm creating a service to boot after networking services are enabled per https://github.com/s3fs-fuse/s3fs-fuse/issues/412
You could use a bash wrapper script to support a custom credential parameter using AWS CLI ENV variables - see here:
http://blog.evolution515.net/2018/08/31/autofs-indirect-user-automounter-for-aws-s3-using-either-s3fs-or-goofyfs/
Most helpful comment
"s3fs: could not determine how to establish security credentials" message means that s3fs could not find any credential(/etc/passed-s3fs, $HOME/.passwd-s3fs etc...).
It seems that your procedure is no problem, but you got this message.
So I think that HOME environment is something wrong as possible.
If you can, you try to copy your $HOME/.passwd-s3fs to /etc/passwd-s3fs and cheek to run s3fs.
Regards,