Discussion:
[S3tools-general] Continuing when access denied
Marc Teichtahl
2014-12-02 23:18:08 UTC
Permalink
Hi all,

Firstly thanks to the maintainers, developers and contributors for this extremely helpful tool.

I am currently running the following command to add a full control ACL for a specific AWS canonical user.

s3cmd --debug --progress --verbose setacl --acl-grant=full_control:XXXXXXXX --recursive s3://bucket/ <s3://bucket/>

There are a number of assets to which the AWS user running this command does not have access to. What s3cmd is doing is failing and exiting on the first of these assets with the following

ERROR: S3 error: 403 (AccessDenied): Access Denied

Is there any way to tell s3cmd to continue through its list and ignore errors / access denied ?



-----------------------------------------------
Marc Teichtahl
***@teichtahl.com
Ph: +61 434 100 259
http://www.teichtahl.com

Loading...