You need to enable JavaScript to run this app.
文档中心
对象存储

对象存储

复制全文
下载 pdf
08-ACL
0008-00000009
复制全文
下载 pdf
0008-00000009
问题描述​
ACL 配置非法。​
问题原因​
用户设置桶或对象 ACL 时,Permission 字段取值非法。有效的取值如下:​
  • READ​
  • WRITE​
  • READ_ACP​
  • WRITE_ACP​
  • FULL_CONTROL​
问题示例​
您配置桶 ACL 时,Permission 字段取值非法。​
​
PUT /?acl HTTP/1.1​
Host: bucketname.tos-cn-beijing.volces.com​
Date: Fri, 30 Jul 2021 13:59:18 GMT​
Authorization: authorization xxx​
​
{ ​
"Owner": { "ID": "test-cid" },​
"Grants": [{​
"Grantee": {​
"Type": "CanonicalUser",​
"ID": "test-cid"​
},​
"Permission": "abc"​
}]​
}​
​
解决方案​
参见 PutBucketACL 或 PutObjectACL,正确构造 ACL 配置,确保 Permission 字段配置合法。​
​
最近更新时间:2026.09.20 16:18:56
这个页面对您有帮助吗?
有用
有用
无用
无用