pub fn chownat<P: Arg, Fd: AsFd>( dirfd: Fd, path: P, owner: Option<Uid>, group: Option<Gid>, flags: AtFlags, ) -> Result<()>
fs
fchownat(dirfd, path, owner, group, flags)—Sets file or directory ownership.
fchownat(dirfd, path, owner, group, flags)