Next: cimag
, Previous: chmod
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
chown
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/chown.html
Gnulib module: chown
Portability problems fixed by Gnulib:
chown("link-to-file/",uid,gid)
:
macOS 14, FreeBSD 7.2, AIX 7.3.1, Solaris 9.
lchown
:
some very old platforms.
ENOSYS
:
mingw, MSVC 14.
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).