我尝试创建“供应商dropbox”,使用谷歌云存储文档中的说明执行了一组命令:
创建桶
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使用命令gsutil getacl gs://customer-10 (已成功验证)验证acl修改
<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
不可能将任何文件上传到这个桶中。
在我的场景中缺少了什么?请帮帮忙
发布于 2013-11-20 14:00:26
这个问题在gsutil版本3.37中得到了解决。目前,它正在按文件所述工作。
https://stackoverflow.com/questions/16518049
复制相似问题