Skip to main content

chown_path

Function chown_path 

Source
pub fn chown_path(
    path: impl AsRef<Path>,
    uid: u32,
    gid: Option<u32>,
) -> Result<(), CoreError>
Expand description

Change the owner of a path while leaving the group unchanged when gid is None.