summaryrefslogtreecommitdiff
path: root/doc/glibc-functions/lchmod.texi
blob: df535eab346c4dd2fb80753daeafbf8300a2ca07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@node lchmod
@subsection @code{lchmod}
@findex lchmod

Gnulib module: lchmod

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
OpenBSD 6.7, Minix 3.1.8, AIX 5.1, IRIX 6.5, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android 9.0.
@item
This function is not declared on some platforms:
HP-UX 11.31.
@item
This function always fails with @code{errno} set to @code{ENOSYS},
even when the file is not a symbolic link:
GNU/Linux with glibc 2.31.
@item
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.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
Some platforms do not allow changing the access bits on symbolic
links.

@item
This function can fail with @code{errno} set to @code{EMFILE} or @code{ENFILE},
and it fails with @code{errno} set to @code{EOPNOTSUPP} if the
@file{/proc} file system is not mounted:
GNU/Linux with glibc 2.34.
@end itemize