Skip to content

Instantly share code, notes, and snippets.

@joohee
Created October 20, 2014 00:55
Show Gist options
  • Save joohee/71429b5e392c610600b4 to your computer and use it in GitHub Desktop.
Save joohee/71429b5e392c610600b4 to your computer and use it in GitHub Desktop.
s3fs mount/umount
#!/bin/sh
echo "mount"
echo "s3fs [bucketname] [directory] -ouse_cache=/tmp -o allow_other"
echo "unmount"
echo "fusermount -u [directory]"
#echo "pkill -9 -f s3fs"
echo "s3fs bucket_name directory_name -o default_acl=public-read -o use_cache=/tmp -o uid=22 -o gid=500 -o umask=007 -o allow_other"
s3fs bucket_name directory_name -o default_acl=public-read -o use_cache=/tmp -o uid=22 -o gid=500 -o umask=007 -o allow_other
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment