Granting read access to the Authenticated Users group for a file

前端 未结 6 1048
执念已碎
执念已碎 2021-02-07 21:14

How do I grant read access to the Authenticated Users group for a file? I\'m using s3cmd and want to do it while uploading but I\'m just focusing directly on changing the acl. W

6条回答
  •  無奈伤痛
    2021-02-07 21:51

    The following command works for me with s3cmd version 1.6.0: s3cmd setacl s3:/// --acl-grant='read:http://acs.amazonaws.com/groups/global/AuthenticatedUsers' for an individual file.

    s3cmd setacl s3:/// --acl-grant='read:http://acs.amazonaws.com/groups/global/AuthenticatedUsers' --recursive for all files in a directory.

提交回复
热议问题