Function set_executable

Source
pub fn set_executable<P: AsRef<Path>>(path: &P) -> Result<()>