Subject: Re: bug#18280: chmod: race condition

From: Paul Eggert <[email-masked]>
Date: Sat, 16 Aug 2014 13:53:07 -0700

Tobias Stoeckmann wrote:
> But I will recommend to look into
> the use of fchmodat() instead, supplying the argument
> AT_SYMLINK_NOFOLLOW.

Sorry, that won't work, and this is a known bug.  Please see:

http://bugs.gnu.org/11108