Closed jianjungki closed 1 year ago
Hello @jianjungki! Thanks for reporting this. Please excuse my super-late reaction. As described here, S3 Ninja does not properly support ACLs.
However, you can check out https://github.com/scireum/s3ninja/pull/219 where I use a non-standard URL to make the bucket public by calling http://<host>/ui/<bucket>/?make-public
I understand that this is not a nice solution, but it works. Unfortunately, we are not able to implement ACL support at this time, but we would happily accept PRs. 😇
Also, I can not provide support for the software tool that you use, I am afraid.
With #222, creation of public buckets will be possible by setting header x-amz-acl: public-read-write
. In the AWS S3 SDK, this will look like:
client.createBucket(new CreateBucketRequest(bucketName).withCannedAcl(CannedAccessControlList.PublicReadWrite));
in aws document
x-amz-acl
is the access right header for s3, but it's not work? or something wrong with my command?Because I'm using the
s3blob
, so I need to finish the bucket creation after unit test.And I don't know how to set the credentials in my s3 url for s3blob