rustix::fs

Function chown

Source
pub fn chown<P: Arg>(
    path: P,
    owner: Option<Uid>,
    group: Option<Gid>,
) -> Result<()>
Expand description

chown(path, owner, group)—Sets open file or directory ownership.

§References