X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fposix-functions%2Fchown.texi;h=88e25cd21bc9a946dbb74f18f809367cfe5a654a;hb=de9f4b1;hp=55b41f8ee59699133e2480c3ede0a04961d0a256;hpb=2b6c08c775ae4e80b52aa41058ea5939f778b44b;p=gnulib.git diff --git a/doc/posix-functions/chown.texi b/doc/posix-functions/chown.texi index 55b41f8ee..88e25cd21 100644 --- a/doc/posix-functions/chown.texi +++ b/doc/posix-functions/chown.texi @@ -2,24 +2,33 @@ @section @code{chown} @findex chown -POSIX specification: @url{http://www.opengroup.org/susv3xsh/chown.html} +POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/chown.html} Gnulib module: chown Portability problems fixed by Gnulib: @itemize @item -When passed an argument of -1, some implementations really set the owner +Some platforms fail to detect trailing slash on non-directories, as in +@code{chown("link-to-file/",uid,gid)}: +FreeBSD 7.2, Solaris 9. +@item +Some platforms fail to update the change time when at least one +argument was not -1, but no ownership changes resulted: +OpenBSD 4.0. +@item +When passed an argument of -1, some implementations really set the owner user/group id of the file to this value, rather than leaving that id of the file alone. @item When applied to a symbolic link, some implementations don't dereference the symlink, i.e.@: they behave like @code{lchown}. +@item +This function is missing on some platforms; however, the replacement +always fails with @code{ENOSYS}: +mingw. @end itemize Portability problems not fixed by Gnulib: @itemize -@item -This function is missing on some platforms: -mingw. @end itemize