[SSSD] Atomic |rename()| ... / was: Re: [PATCH] https://fedorahosted.org/sssd/ticket/2410

Jakub Hrozek jhrozek at redhat.com
Tue Aug 26 12:01:57 UTC 2014


On Tue, Aug 26, 2014 at 07:05:17AM -0400, Roland Mainz wrote:
> > I like your approach better and do not expect any issues since rename()
> > is expected to be atomic.
> > 
> > Please find comments below.
> 
> Erm... |rename(src, dest)| with |src| and |dest| in the same directory can be considered an atomic operation... beyond that you're up to the mercy of the filesystem implementation.

As I found the hard way, see my other e-mail :-)



More information about the sssd-devel mailing list