e5a80d6a1fe5b0b08b1d6c04e04b2b3a8c47505f
[gnulib.git] / doc / posix-functions / chown.texi
1 @node chown
2 @section @code{chown}
3 @findex chown
4
5 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/chown.html}
6
7 Gnulib module: chown
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{chown("link-to-file/",uid,gid)}:
14 FreeBSD 7.2, Solaris 9.
15 @item
16 When passed an argument of -1, some implementations really set the owner
17 user/group id of the file to this value, rather than leaving that id of the
18 file alone.
19 @item
20 When applied to a symbolic link, some implementations don't dereference
21 the symlink, i.e.@: they behave like @code{lchown}.
22 @item
23 This function is missing on some platforms; however, the replacement
24 always fails with @code{ENOSYS}:
25 mingw.
26 @end itemize
27
28 Portability problems not fixed by Gnulib:
29 @itemize
30 @end itemize