我对存储桶的 Acl 权限如下:
<?xml version="1.0" ?>
<AccessControlList>
<Owner>
<ID>00b4903a97dfaa16aff41eeb91e90b5fb524f1daf0d88fceca29b6f647412e8d</ID>
</Owner>
<Entries>
<Entry>
<Scope type="GroupById">
<ID>00b4903a97dfaa16aff41eeb91e90b5fb524f1daf0d88fceca29b6f647412e8d</ID>
</Scope>
<Permission>FULL_CONTROL</Permission>
</Entry>
<Entry>
<Scope type="AllUsers"/>
<Permission>READ</Permission>
</Entry>
<Entry>
<Scope type="UserByEmail">
<EmailAddress>
my_app@appspot.gserviceaccount.com
</EmailAddress>
</Scope>
<Permission>
WRITE
</Permission>
</Entry>
</Entries>
</AccessControlList>
但是,当我在此存储桶中上传新文件时,默认情况下不共享。
我想我应该是因为 AllUsers 权限设置为读取