goofys

goofys is a utility that lets Linux and macOS mount Object Storage buckets via FUSE.

Before you start

  1. Create a service account.
  2. Assign a role to a service account.
  3. Create a static access key.

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

  1. Select the folder where you want to mount the bucket and make sure you have permissions to perform the mounting operation.

  2. 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