devela::_dep::rustix::fs

Function chown

pub fn chown<P>(
    path: P,
    owner: Option<Uid>,
    group: Option<Gid>,
) -> Result<(), Errno> 
where P: Arg,
Available on crate feature dep_rustix only.
Expand description

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

§References