Function set_perm

pub fn set_perm(p: &CStr, perm: FilePermissions) -> Result<()>