head.daveops.net

Snippets for yer computer needs

S3

# Get object ACL
aws s3api get-bucket-acl --bucket BUCKET --key KEY

# Give bucket owner full permissions on the file
aws s3api put-bucket-acl --bucket BUCKET --key KEY --acl bucket-owner-full-control