lchown: detect Solaris and FreeBSD bug
[gnulib.git] / doc / posix-functions / lchown.texi
1 @node lchown
2 @section @code{lchown}
3 @findex lchown
4
5 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/lchown.html}
6
7 Gnulib module: lchown
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 Some platforms fail to detect trailing slash on non-directories, as in
13 @code{lchown("link-to-file/",uid,gid)}:
14 FreeBSD 7.2, Solaris 9.
15 @item
16 This function is missing on some platforms; however, the replacement
17 fails on symlinks if @code{chown} is supported, and fails altogether
18 with @code{ENOSYS} otherwise:
19 MacOS X 10.3, mingw, BeOS.
20 @end itemize
21
22 Portability problems not fixed by Gnulib:
23 @itemize
24 @end itemize