mirror of https://github.com/mkerrisk/man-pages
chown.2: When file owner or group is changed, file capabilities are cleared
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
fbfbde8feb
commit
b9472299a6
|
@ -142,6 +142,10 @@ bit is not set) the
|
||||||
.B S_ISGID
|
.B S_ISGID
|
||||||
bit indicates mandatory locking, and is not cleared by a
|
bit indicates mandatory locking, and is not cleared by a
|
||||||
.BR chown ().
|
.BR chown ().
|
||||||
|
|
||||||
|
When the owner or group of an executable file is changed (by any user),
|
||||||
|
all capability sets for the file are cleared.
|
||||||
|
.\"
|
||||||
.SS fchownat()
|
.SS fchownat()
|
||||||
The
|
The
|
||||||
.BR fchownat ()
|
.BR fchownat ()
|
||||||
|
|
Loading…
Reference in New Issue