S3 user cannot access objects in his own bucket if created by another user. Why?

0 votes
An external user added a file to the S3 bucket. But when I tried downloading it, I got 403 error. I attempted to change the permission of the object but got a message "You do not have permission to view this bucket".

How do I solve it?
Jul 30, 2018 in Cloud Computing by brat_1
• 7,080 points
63 views

1 answer to this question.

0 votes

I think you have to  re-write the object specifying bucket owner full control or you have to get the object owner to update the ACL or. The simplest way to experiment with this is using the CLI:

aws s3api put-object-acl --acl bucket-owner-full-control --bucket some-bucket --key path/to/unreadable.txt

This has to be done once for each object

answered Jul 30, 2018 by Gopalan
• 1,260 points

Related Questions In Cloud Computing

0 votes
1 answer

Is there a way to find out the number of objects stored in an S3 bucket?

Frankly, that is not possible. This is ...READ MORE

answered Apr 17, 2018 in Cloud Computing by code_ninja
• 6,220 points
45 views
0 votes
3 answers

Using EC2 instance to access S3 bucket locally

You can use the boto library to ...READ MORE

answered Nov 30, 2018 in Cloud Computing by Aniket
694 views
0 votes
1 answer

Can you filter through the created tags by using S3 file tagging?

You cannot filter with S3 file tagging ...READ MORE

answered May 8, 2018 in Cloud Computing by Meci Matt
• 9,420 points
24 views
0 votes
1 answer

AWS: What is the number of buckets that are created in by default?

100 buckets can be created in each ...READ MORE

answered Jul 10, 2018 in Cloud Computing by Meci Matt
• 9,420 points
51 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer