ACL
Use acl to get or set an object's canned ACL without uploading a new file.
Example, set an object to private:
sh
s3m acl backup/backups/file.dat --acl privateRetrieve the current ACL:
sh
s3m acl backup/backups/file.dat | xmllint --format -xmllint is only used here to pretty-print the response.
During upload, you can also set a canned ACL with -a/--acl:
sh
s3m /path/to/file backup/backups/file.dat --acl public-read