1、设置OSS访问策略授权FTP提示拒绝访问
2、策略代码:{
"Statement": [
{
"Action": [
"oss:Get*",
"oss:List*"
],
"Effect": "Allow",
"Resource": [
"acs:oss:*:*:tcsm-test",
"acs:oss:*:*:tcsm-test/*"
]
}
],
"Version": "1"
}
3:
4:不设置block正确:
{
"Statement": [
{
"Action": [
"oss:Get*",
"oss:List*"
],
"Effect": "Allow",
"Resource": "*"
}
],
"Version": "1"
}