chmod
¶POSIX specification:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/chmod.html
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
EACCES
when the failure is
due to lack of appropriate privileges (EPERM
), not to
search permission denied on the file name prefix (EACCES
):
Linux kernel 5.15 with glibc 2.35 and a CIFS v1 file system
(see https://bugs.gnu.org/65599).