I have a set of video files that were copied from one AWS bucket from another account to my account in my own bucket.
Now I am having a problem with all the files in which I get access-related errors when I try to make all the files public.
In particular, I went to my AWS account, switched to S3, expanded the folder structure to find one of the video files.
When I look at this particular file, the Permissions tab in the files does not grant any rights assigned to anyone. No users, groups, or system permissions assigned.
At the bottom of the Permissions tab, I see a small frame that says "Error: access denied." I canβt change anything about the file. I can not add metadata. I can not add the user to the file. I can not make the file Public.
Is there a way to gain control over these files so that I can make them publicly available? There are over 15,000 files / about 60 GB files. I would like to avoid downloading and re-downloading all files.
With some help and suggestions from people here I tried the following. I created a new folder in my bucket called "media".
I tried this command:
aws s3 cp s3://mybucket/2014/09/17/thumb.jpg s3://mybucket/media --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers full=emailaddress=my_aws_account_email_address
I get a fatal error 403 when I call the HeadObject: Forbidden operation.
source share