Skip to content

Instantly share code, notes, and snippets.

@nyimbi
Forked from jcaddel/S3FS on Mac OS X
Last active May 26, 2023 23:47
Show Gist options
  • Save nyimbi/8f9ec1eb29581ca6cbe8237dccbfc824 to your computer and use it in GitHub Desktop.
Save nyimbi/8f9ec1eb29581ca6cbe8237dccbfc824 to your computer and use it in GitHub Desktop.
How to mount a linode object store on a mac
Install s3fs on Mac OS X
1 - Install Homebrew if you haven't already - http://brew.sh/"Acce
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
2 - Use Homebrew to install s3fs + dependencies
brew install --cask macfuse
brew install gromgit/fuse/s3fs-mac
3. Get the access key and secret key from linode for your buckets.
Go to: https://cloud.linode.com/object-storage/access-keys
and create some access keys
4 - Create the file ~/.passwd-s3fs (one line file [accessKey:secretKey]
echo $ACCESS_KEY:$SECRET_KEY > ~/.passwd-s3fs
5 - Set the appropriate permissions for your ~/.passwd-s3fs
sudo chmod 600 ~/.passwd-s3fs
6 - Create the directory where the S3 bucket will be mounted
mkdir -p ~/mounts/my_bucket
7 - Mount the bucket
s3fs my_bucket:/eu-central-1.linodeobjects.com/ ~/mounts/my_bucket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment