I can't access old objects in an Amazon S3 bucket. What I did is:
I have synced my old bucket (which works fine) to a new bucket. When I now try to access old objects in the new bucket it shows access denied. I have also added the access to Public but it doesn't work. It only works if I add read access for everyone to every single object.
I have done a lot of research but I cannot find a solution.
I have used this command to sync from old to new bucket:
aws s3 sync s3://bucket-1 s3://bucket-2