【问题标题】:Unable to make GCP bucket public无法公开 GCP 存储桶
【发布时间】:2019-07-26 01:03:24
【问题描述】:

我正在尝试公开 Google Cloud Storage 中的存储分区,但收到此错误:

Error
Sorry, there’s a problem. If you entered information, check it and try again. Otherwise, the problem might clear up on its own, so check back later.

Tracking Number: 8176737072451350548

Send feedback

我正在向角色 StorageObjectViewer 发送所有用户的权限。我是平台直接做的

【问题讨论】:

标签: google-cloud-platform google-cloud-storage


【解决方案1】:

在 GCP 上使用项目中的 shell 命令:

$ gsutil defacl set public-read gs://your-bucket-name

使用后:

$ gsutil ls -L -b gs://your-bucket-name 

查看存储桶的 ACL 配置。

https://codelabs.developers.google.com/codelabs/cloud-upload-objects-to-cloud-storage/#0

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-11-04
    • 2020-12-18
    相关资源
    最近更新 更多