pub fn set_permissions<P: AsRef<Path>>( path: P, perms: Permissions, ) -> Result<()>
Changes the permissions found on a file or a directory.
May return any of the same errors as std::fs::set_permissions
std::fs::set_permissions