Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To enforce a policy located in a JSON file called policy.json upon a bucket called mybucket, we run the command:


Code Block
languagebashtext
s3cmd setpolicy policy.json s3://mybucket 

...