Allow Public Read access on a GCS bucket?

后端 未结 6 1444
鱼传尺愫
鱼传尺愫 2020-12-07 23:17

I am trying to allow anonymous (or just from my applications domain) read access for files in my bucket.

When trying to read the files I get

```

<         


        
6条回答
  •  隐瞒了意图╮
    2020-12-07 23:31

    If you want to allow specific bucket to be accessible with the specific "folder/content" then you have to specify in the command: gsutil iam -r ch allUsers:legacyObjectReader gs://your-bucket/your-files/**

    • But this is for specific content inside a bucket that is not public!

提交回复
热议问题