2 @section @code{fchmodat}
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/fchmodat.html}
9 Portability problems fixed by Gnulib:
12 This function is missing on some platforms:
13 glibc 2.3.6, MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, AIX
14 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw, Interix 3.5, BeOS.
15 But the replacement function is not safe to be used in libraries and is not multithread-safe.
18 Portability problems not fixed by Gnulib:
21 Some platforms do not allow changing the access bits on symbolic
22 links. POSIX states that @code{fchmodat(@dots{},AT_SYMLINK_NOFOLLOW)}
23 may fail with @code{EOPNOTSUPP} when called on a symlink, but some
24 platforms, as well as the gnulib replacement, fail for any use of
25 AT_SYMLINK_NOFOLLOW even if the target was not a symlink: