Amazon AWS S3 CLI copy with set perms
2020年10月13日
Open term (or equivalent) and paste the following:
S3 copy
- to upload a world-readable file:
aws s3 cp source.file s3://bucket/path/dest.file --acl public-read
Options for --acl parameters are:
- private - visibility to owner only
- public-read - readable by all
- public-read-write - readable and writable by all