s3-recursive-acl icon indicating copy to clipboard operation
s3-recursive-acl copied to clipboard

Small improvements

Open wimsymons opened this issue 6 years ago • 0 comments

Hi there,

Thanks for this great tool, but for me at first it didn't work as we are using an MFA token to access our AWS services.

It would fail with this message: panic: Failed to update object permissions in 'XX-BUCKET-NAME-XX', NoCredentialProviders: no valid providers in chain. Deprecated. For verbose messaging see aws.Config.CredentialsChainVerboseErrors

So I hacked a little bit to make it work and improved it here and there.

Overview of my fixes:

  • Fixed session creation so AWS MFA logins work
  • Upgraded AWS SDK to latest version
  • Added .gitignore for IntelliJ (because that's my IDE)
  • Exit with failure if one of the objects failed to be modified

Kind regards

Wim

wimsymons avatar Mar 01 '19 07:03 wimsymons