chown: Update doc regarding AIX.
[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, AIX 7.1, Solaris 9.
15 @item
16 Some platforms fail to update the change time when at least one
17 argument was not -1, but no ownership changes resulted:
18 OpenBSD 4.0.
19 @item
20 When passed an argument of -1, some implementations really set the owner
21 user/group id of the file to this value, rather than leaving that id of the
22 file alone.
23 @item
24 When applied to a symbolic link, some implementations don't dereference
25 the symlink, i.e.@: they behave like @code{lchown}.
26 @item
27 This function is missing on some platforms; however, the replacement
28 always fails with @code{ENOSYS}:
29 mingw.
30 @end itemize
31
32 Portability problems not fixed by Gnulib:
33 @itemize
34 @end itemize