Only a privileged process (Linux: one with the
CAP_CHOWN capability) may change the owner of a file.However, the owning group of a file can be changed to a different group. (Linux)
- if I am the owner of that file, and if I am a member of that group.
- or if I have the CAP_CHOWNcapability
chown(2) - Linux manual page
NAME | LIBRARY | SYNOPSIS | DESCRIPTION | RETURN VALUE | ERRORS | VERSIONS | STANDARDS | HISTORY | NOTES | EXAMPLES | SEE ALSO
https://www.man7.org/linux/man-pages/man2/chown.2.html

Seonglae Cho