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,200 points

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,340 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,280 points
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
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,460 points
0 votes
2 answers

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

By Default,100 s3  buckets can be created ...READ MORE

answered Aug 5, 2020 in Cloud Computing by cloudkatha
• 210 points
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer