Google Cloud Storage Buckets: Mounting in a Linux instance with Global Permissions
This is an expected behavior for GCSFuse you can override the permissions with -o allow_other flag as mentioned here:
Permissions and ownership
Inodes
By default, all inodes in a gcsfuse file system show up as being owned by the UID and GID of the gcsfuse process itself, i.e. the user who mounted the file system. All files have permission bits 0644, and all directories have permission bits 0755 (but see below for issues with use by other users). Changing inode mode (using chmod(2) or similar) is unsupported, and changes are silently ignored.
These defaults can be overriden with the --uid, --gid, --file-mode, and --dir-mode flags.
Fuse
The fuse kernel layer itself restricts file system access to the mounting user (cf. fuse.txt). So no matter what the configured inode permissions, by default other users will receive "permission denied" errors when attempting to access the file system. This includes the root user.
This can be overridden by setting -o allow_other to allow other users to access the file system. Be careful! There may be security implications.
Mount Google Cloud Storage Bucket to Instance
With the new beta gcsfuse
this is now possible.
gcsfuse myBucket ~/path/to/mount
https://cloud.google.com/storage/docs/gcs-fuse
mounting bucket with fstab not working NEWBIE
Okay so I just had to wait 2 minutes due to google auth granting my key. Basically it works
Related Topics
Tail a Log into an Excerpt in Real Time
Cannot Push to My Github Private Repository
Difference Between ./Executable and . Executable
Function Return Values Within Bash If Statements
In Linux, Do There Exist Functions Similar to _Clearfp() and _Statusfp()
Elk Not Passing Metadata from Filebeat into Logstash
Why Pid of a Process Is Represented by Opaque Data Type
How Does The Os Know Disk Address of an Absent Page
Listening for New Processes in Linux Kernel Module
Using Source to Include Part of a File in a Bash Script
Can 'Vim' Open a Large File in Read Only Mode as Fast as 'Less'
How to Automatically Start an Application That Needs X in Linux
How to Upgrade a Package in Linux That Was Built from Source
PHPmyadmin Mcrypt Extension Is Missing
Lkm: Last Block Written to Device
Where in The Linux Source Does Recognition of Specific Usb Devices Happen