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<()>
Expand description

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

References