Closed leamingrad closed 5 years ago
Noticed that this repository seems to be dead and there are similar PRs in existance so closing this - for anyone that stumbles on this, I switched to https://github.com/seahen/maven-s3-wagon which is essentially the same as this repo but with this fix merged in.
This MR allows configuration to disable sending a pre-canned ACL by setting their server settings as follows:
This is useful when uploading objects to S3 with a user that does not have the
s3:PutObjectAcl
permission. In this case, POST requests to S3 that have a canned ACL are rejected - so it is better to be able to not specify an ACL, which will cause the bucket default to be used.I am happy to add tests/docs as appropriate, but I couldn't work out what was needed at a first pass.