s3 ACLs not working as expected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Swift3 |
New
|
Undecided
|
Unassigned |
Bug Description
Tried setting 'public-read' on an object like this(canned ACL):
$ aws s3api put-object-acl --bucket test-acl --key file.txt \
--acl public-read --endpoint-url https:/
It gives 400 bad requests if object is accessed by unauthorized request(https:/
If tried with some separate account, gives 404 bucket does not exist.
Tried setting '--grant-
$ aws s3api put-bucket-acl --bucket test-acl --grant-
id=<user_
If this bucket is accessed using the <user_name1> account, it gives 404 bucket does not exist.
After setting the above ACLs, it was checked if the acl was assigned with below command:
$ aws s3api get-bucket-acl --bucket test-acl \
--endpoint-url https:/
It seems that the ACLs are getting set properly, but they are not behaving as expected. Let me know If I can provide more info on this.