I am new to the aws cli and I've spent a fair amount of time in the documentation but I can't figure out how to set permissions on files after I've uploaded them. So if I uploaded a file with:
aws s3 cp assets/js/d3-4.3.0.js s3://example.example.com/assets/js/
and didn't set access permissions, I need a way to set them. Is there an equivalent to chmod 644
in the aws cli?
And for that matter is there a way to view access permission?
I know I could use the --acl public-read
flag with aws s3 cp
but if I didn't, can I set access without repeating the full copy command?