goofys
goofys is a utility that lets Linux and macOS mount Object Storage buckets via FUSE.
Before you start
Installation
To install goofys
, follow the instructions in the project repository.
Configuration
goofys
uses the secret key from the AWS CLI settings in the .aws/credentials
file. You can also put the key in the AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
environment variables.
Mounting a bucket
-
Select the folder where you want to mount the bucket and make sure you have permissions to perform the mounting operation.
-
For one-time bucket mounting, run the command:
goofys --endpoint=https://storage.yandexcloud.net <bucket name> <mount point>
You can configure mounting a bucket at system startup. To do this, open the /etc/fstab
file and add a line in the following format:
goofys#<bucket name> <mount point> fuse _netdev,allow_other,--file-mode=0666,--dir-mode=0777 0 0