Skip to content

Instantly share code, notes, and snippets.

@alexclifford
Created July 24, 2015 01:59
Show Gist options
  • Star 23 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save alexclifford/b5cd2fbfcbf9e20fe9e2 to your computer and use it in GitHub Desktop.
Save alexclifford/b5cd2fbfcbf9e20fe9e2 to your computer and use it in GitHub Desktop.
Make S3 object public and private via s3cmd command line
s3cmd setacl s3://bucket/path/to/file --acl-public
s3cmd info s3://bucket/path/to/file
s3cmd setacl s3://bucket/path/to/file --acl-private
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment