Function rustix::fs::chownat

source ·
pub fn chownat<P: Arg, Fd: AsFd>(
    dirfd: Fd,
    path: P,
    owner: Option<Uid>,
    group: Option<Gid>,
    flags: AtFlags
) -> Result<()>
Available on crate feature fs only.
Expand description

fchownat(dirfd, path, owner, group, flags)—Sets file or directory ownership.

§References