Skip to content

Instantly share code, notes, and snippets.

@aiziyuer
Forked from alexclifford/s3_set_object_public.sh
Created March 27, 2019 08:35
Show Gist options
  • Save aiziyuer/ee95be1195bee3a9f3e6797e7eadc037 to your computer and use it in GitHub Desktop.
Save aiziyuer/ee95be1195bee3a9f3e6797e7eadc037 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