基于s3fs-fuse挂载oss至文件系统

2019-03-22  本文已影响0人  syhc006
yum install epel-release
yum install s3fs-fuse
echo ${ACCESS_KEY}:${SECRET_ACCESS_KEY} > ${HOME}/.passwd-s3fs
chmod 600 ${HOME}/.passwd-s3fs
s3fs ${BUCKET} ${MOUNT_POINT} -o passwd_file=${HOME}/.passwd-s3fs -o url=https://${URL_TO_S3}/ -o umask=0000

umash用于设置目录的操作权限

上一篇下一篇

猜你喜欢

热点阅读