Skip to content

Instantly share code, notes, and snippets.

@nampdn
Forked from alexclifford/s3_set_object_public.sh
Created September 17, 2020 16:44
Show Gist options
  • Save nampdn/84ad59564347bd4e9b4f26a5d60086c9 to your computer and use it in GitHub Desktop.
Save nampdn/84ad59564347bd4e9b4f26a5d60086c9 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