chmod_x

Function chmod_x 

Source
pub fn chmod_x<P: AsRef<Path>>(path: P) -> Result<()>
Expand description

Sets executable permissions (755) on the specified filepath.

ยงErrors

  • A filesystem operation (open/read/write/remove) fails.
  • File metadata cannot be read.
  • Permissions cannot be updated.