0

I would like to mount a bucket on my instance when it starts up. The command I use is:

gcsfuse --implicit-dirs mybucket /my/folder

This works when I do it manually ssh-ing into the instance. However, it fails within the startup script. There doesn't seem to be any errors in the log file but the created directory has ?????? for permissions, owner, etc. Using an Ubuntu 16.04 image.

Any ideas on what could be going on?

Alex
  • 19,533
  • 37
  • 126
  • 195

1 Answers1

0

I was able to run the following command to mount my own bucket using a startup script with no ??????? for permission:

gcsfuse --implicit-dirs --dir-mode "777" -o allow_other -o nonempty MYBUCKET /MY/FOLDER
Steeve
  • 385
  • 2
  • 13