-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Directory sync commands don't set the right ACL to objects #685
Comments
Actually READ for object means full control (so just output a little incorrect #677 should fix this issue) because WRITE cannot be applied to object https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#permissions |
@anikeev-yadro Could you try to reproduce this bug using ece40d5 commit and see if it's getting better? |
Now it's looks like better.
we see the corresponding ACL:
But I still see errors about ACL in the log:
s3 gate version:
|
It would be nice to see parameters for |
authmate command:
bearer_rules.json
|
It seems we cannot do anything with this error:
When we create two objects (that require updating EACL) simultaneously, two transactions fall into one block and we can get success result only for one of such EACL update (because we expect eacl table that was sent to be match eacl table that currently can be got). /cc @alexvanin |
We can do some hacks if requests are sent into the same gateway, e.g. queue AST changes and produce one SetEACL invocation per block. But it is error prone and will not work if requests are sent into two different gateways. But maybe it is good enough for such cases. |
We've decided to propose new mechanism to work with extended ACLs in the container smart contract. Until that we are blocked (or required to build some really dirty fixups in the code). |
I have tried to use the following commands with parameter "--acl public-read-write":
with the same result - objects ACL for AllUsers set to public-read instead of public-read-write
Log:
Product versions:
s3 gateway config:
The text was updated successfully, but these errors were encountered: