Mounting existing GCP bucket fails #845
-
An existing bucket is not being properly mounted. blueprint.yaml line
/etc/fstab
sudo journalctl -o cat -u google-startup-scripts. relevant lines:
ll /mnt
full blueprint.yaml
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You may be running into permissions issue. By default, the startup scripts run as root, and therefore gcsfuse is also invoked as root, which is not great. There are ways around this, but we chose not to implement them as the gcs fuse functionality targeted a few simple workflows, such as automated data staging. Are you running ls as root? |
Beta Was this translation helpful? Give feedback.
You may be running into permissions issue. By default, the startup scripts run as root, and therefore gcsfuse is also invoked as root, which is not great. There are ways around this, but we chose not to implement them as the gcs fuse functionality targeted a few simple workflows, such as automated data staging. Are you running ls as root?
gcs fuse itself imposes several restrictions, for more information, please take a look at: https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/docs/mounting.md#access-permissions