Skip to content

Instantly share code, notes, and snippets.

Created September 4, 2017 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/8d9c74502322fd86b0741b1be289deca to your computer and use it in GitHub Desktop.
Save anonymous/8d9c74502322fd86b0741b1be289deca to your computer and use it in GitHub Desktop.
FSTab mount GCS bucket as specific user (www-data)
<GCS BUCKET NAME (NO gs:// prefix)> <MOUNT POINT> gcsfuse ro,noauto,uid=33,gid=33,noatime,async,_netdev,noexec,user 1 0
Example:
GCS Bucket name: a-test-bkt
Mount point: /mnt/atb
a-test-bucket /mnt/atb gcsfuse ro,noauto,uid=33,gid=33,noatime,async,_netdev,noexec,user 1 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment