【问题标题】:google storage bucket upload permissions谷歌存储桶上传权限
【发布时间】:2013-05-07 06:00:58
【问题描述】:

我尝试使用Google cloud storage documntation 中的说明创建“供应商保管箱” 执行了以下命令集:

创建存储桶

gsutil  mb gs://customer-10    

添加外部用户权限

gsutil chacl  -u user@company.com:FC gs://customer-10

添加默认acl

gsutil chdefacl  -u -u user@company.com:FC gs://customer-10

使用命令验证 acl 修改 gsutil getacl gs://customer-10(验证成功)

     <Entry>
    <Scope type="UserByEmail">
        <EmailAddress>user@company.com</EmailAddress>
        <Name>firstname lastname</Name>
    </Scope>
    <Permission>FULL_CONTROL</Permission>
</Entry>

但是当用户访问存储桶时,使用链接 https://storage.cloud.google.com/?arg=customer-10&pli=1#customer-10

不可能将任何文件上传到此存储桶中。

我的场景中缺少什么?请帮忙

【问题讨论】:

    标签: acl google-cloud-storage gsutil


    【解决方案1】:

    此问题已在 gsutil 3.37 版中得到解决。 目前它正在按记录工作。

    【讨论】:

      猜你喜欢
      • 2018-12-09
      • 1970-01-01
      • 2015-03-01
      • 1970-01-01
      • 2018-02-24
      • 1970-01-01
      • 2021-06-15
      • 2016-12-16
      • 2020-07-02
      相关资源
      最近更新 更多