Historically, Linux systems did not support the AT_SYMLINK_NOFOLLOW flag
to fchmodat(2). glibc added userspace emulation support in glibc 2.32,
and Linux gained native support in 6.5. See glibc.git
6b89c385d8bd
(2020-02-12; "io: Implement lchmod using fchmodat [BZ #14578]") and
linux.git
09da082b07bb (2023-07-27; "fs: Add fchmodat2()").
Signed-off-by: Benjamin Peterson <benjamin@locrian.net>
Message-ID: <
20250619051342.145412-2-benjamin@locrian.net>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
.I path
is a symbolic link, do not dereference it:
instead operate on the link itself.
-This flag is not currently implemented.
.P
See
.BR openat (2)
POSIX.1-2008.
Linux 2.6.16,
glibc 2.4.
+.TP
+.B AT_SYMLINK_NOFOLLOW
+glibc 2.32,
+Linux 6.5.
.SH SEE ALSO
.BR chmod (1),
.BR chown (2),