permissions_dirs_recurse
Verify if a directory and its content have the right permissions recursively.
⚙️ Compatible targets: Linux
⚠️ Deprecated: This method is deprecated and should not be used.
Parameters
Name | Documentation |
---|---|
path | Path to the directory. This parameter is required. |
mode | Mode to enforce. This parameter is required. |
owner | Owner to enforce. This parameter is required. |
group | Group to enforce. This parameter is required. |
Outcome conditions
You need to replace ${path}
with its actual canonified value.
- ✅ Ok:
permissions_${path}_ok
- ☑️ Already compliant:
permissions_${path}_kept
- 🟨 Repaired:
permissions_${path}_repaired
- ☑️ Already compliant:
- ❌ Error:
permissions_${path}_error
Example
method: permissions_dirs_recurse
params:
path: VALUE
mode: VALUE
owner: VALUE
group: VALUE