Function set_permissions

Source
pub fn set_permissions(path: &Path, perm: FilePermissions) -> Result<()>