13.97.2 lchmod
¶
Gnulib module: lchmod
Portability problems fixed by Gnulib:
- This function is missing on some platforms:
OpenBSD 7.5, Minix 3.1.8, AIX 5.1, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android 9.0.
- This function is not declared on some platforms:
HP-UX 11.31.
- This function always fails with
errno
set to ENOSYS
,
even when the file is not a symbolic link:
GNU/Linux with glibc 2.31.
- This function does not fail when the file name argument ends in a slash
and (without the slash) names a non-directory, on some platforms:
AIX 7.2.
Portability problems not fixed by Gnulib:
- Some platforms do not allow changing the access bits on symbolic
links.
- This function can fail with
errno
set to EMFILE
or ENFILE
,
and it fails with errno
set to EOPNOTSUPP
if the
/proc file system is not mounted:
GNU/Linux with glibc 2.34.