diff --git a/man2/chown.2 b/man2/chown.2 index c7b2bd6c0..f21c0d5ad 100644 --- a/man2/chown.2 +++ b/man2/chown.2 @@ -35,7 +35,7 @@ .\" (bsdgroups versus sysvgroups, and the effect of the parent .\" directory's set-group-ID permission bit). .\" -.TH CHOWN 2 2014-02-21 "Linux" "Linux Programmer's Manual" +.TH CHOWN 2 2014-03-19 "Linux" "Linux Programmer's Manual" .SH NAME chown, fchown, lchown, fchownat \- change ownership of a file .SH SYNOPSIS @@ -195,6 +195,11 @@ flag). In this case, .I dirfd can refer to any type of file, not just a directory. +If +.I dirfd +is +.BR AT_FDCWD , +the call operates on the current working directory. This flag is Linux-specific; define .B _GNU_SOURCE .\" Before glibc 2.16, defining _ATFILE_SOURCE sufficed