Re: fchmodat with AT_SYMLINK_NOFOLLOW

2020-02-16 Thread Bruno Haible
On 2020-02-08 I wrote: > 1) Improve the cross-compilation guesses. The result of the > "fchmodat+AT_SYMLINK_NOFOLLOW works on non-symlinks" test is: > - yes on kFreeBSD/glibc, Hurd/glibc, FreeBSD 12, AIX 7.2, Solaris 11, Haiku, > - no on Linux/glibc, Cygwin 2.9. A similar improvement can be do

Re: fchmodat with AT_SYMLINK_NOFOLLOW

2020-02-08 Thread Bruno Haible
Hi Paul, > I installed the attached patch to Gnulib in preparation for the upcoming > glibc fix. The patch causes fchmodat with AT_SYMLINK_NOFOLLOW to work on > non-symlinks, and similarly for lchmod on non-symlinks. The idea is to > avoid this sort of problem in the future