mirror of https://github.com/mkerrisk/man-pages
chown.2: Changes to file owner by root also clear set-UID and set-GID bits
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
16ee728520
commit
fbfbde8feb
|
@ -131,7 +131,8 @@ mode bits are cleared.
|
||||||
POSIX does not specify whether
|
POSIX does not specify whether
|
||||||
this also should happen when root does the
|
this also should happen when root does the
|
||||||
.BR chown ();
|
.BR chown ();
|
||||||
the Linux behavior depends on the kernel version.
|
the Linux behavior depends on the kernel version,
|
||||||
|
and since Linux 2.2.13, root is treated like other users.
|
||||||
.\" In Linux 2.0 kernels, superuser was like everyone else
|
.\" In Linux 2.0 kernels, superuser was like everyone else
|
||||||
.\" In 2.2, up to 2.2.12, these bits were not cleared for superuser.
|
.\" In 2.2, up to 2.2.12, these bits were not cleared for superuser.
|
||||||
.\" Since 2.2.13, superuser is once more like everyone else.
|
.\" Since 2.2.13, superuser is once more like everyone else.
|
||||||
|
|
Loading…
Reference in New Issue