-
-
Save alvarlaigna/a06daf62557c33acbf89afc898fe79d6 to your computer and use it in GitHub Desktop.
s3fs mount/umount
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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