From 685a5f0ce8502dd718d93cf8aca090168bf97580 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Wed, 27 Jul 2022 18:31:26 +0300 Subject: [PATCH] [#540] Do not set sticky bit in authmate container In public containers sticky bit allows to limit ownership of the objects by request authors. In private or public-read containers it doesn't make any sense so sticky bit is redundant there. Signed-off-by: Alex Vanin --- internal/neofs/neofs.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/neofs/neofs.go b/internal/neofs/neofs.go index 714b9423..483b7b84 100644 --- a/internal/neofs/neofs.go +++ b/internal/neofs/neofs.go @@ -543,7 +543,6 @@ func (x *AuthmateNeoFS) CreateContainer(ctx context.Context, prm authmate.PrmCon basicACL := acl.Private // allow reading objects to OTHERS in order to provide read access to S3 gateways basicACL.AllowOp(acl.OpObjectGet, acl.RoleOthers) - basicACL.MakeSticky() return x.neoFS.CreateContainer(ctx, layer.PrmContainerCreate{ Creator: prm.Owner,