Sunday, 18 September 2022

Unable to write files in a GCP buket using Fuse

I have mounted a storage bucket on a VM using the command:

gcsfuse my-bucket /path/to/mount

After this I'm able to read files from the bucket in Python using Pandas, but I'm not able to write files nor create new folders. I have tried with Python and from the terminal using sudo but get the same error.

I have also tried Using the key_file from the bucket:

sudo mount -t gcsfuse -o implicit_dirs,allow_other,uid=1000,gid=1000,key_file=Notebooks/xxxxxxxxxxxxxx10b3464a1aa9.json <BUCKET> <PATH>

It does not through errors when I run the code, but still I'm not able to write in the bucket.

I have also tried:

gcloud auth login

But still have the same issue.



from Unable to write files in a GCP buket using Fuse

No comments:

Post a Comment