Skip to main content

chmod_recursive

Function chmod_recursive 

Source
pub fn chmod_recursive(
    path: &Path,
    mode_str: &str,
    config: &ChmodConfig,
) -> Result<bool, Error>
Expand description

Recursively apply a mode string to a directory tree.

The mode is re-parsed for each file using its current mode, which matters for symbolic modes (e.g. a+X behaves differently for files vs directories).