permission errors using gcsfuse as nonroot user on google compute instance

644 and 755 are the default permissions for all file and directory inodes in a gcsfuse file system. You can use the --file-mode and --dir-mode flags to control them. See here for documentation.


To create the fstab entry using echdee's example, specify the gcsfuse dir-mode and file-mode attributes with underscores:

test_bucket_00 /data/cloud/tb-00 gcsfuse rw,allow_other,file_mode=777,dir_mode=777

https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/docs/mounting.md