acl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Acl-devel] setfacl is not atomic?


From: Andreas Grünbacher
Subject: Re: [Acl-devel] setfacl is not atomic?
Date: Wed, 27 Feb 2019 11:34:40 +0100

Hi,

Am Mi., 27. Feb. 2019 um 08:29 Uhr schrieb K, Dinesh (Nokia -
IN/Bangalore) <address@hidden>:
> When I try to set the acl for a single path from two different services at 
> the same time, it is failing.
> Though the return code is success, acl’s set by the second service is 
> overwriting the acl’s set by the first service.

when setting an acl, the previous value is overwritten, and the file
mode is updated as well. This is the defined behavior, not a bug.
There is no compare-and-exchange like operation for acls, or even for
xattrs.

Andreas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]