permissions_recursive
Verify if a file or directory has the right permissions recursively.
⚙️ Compatible targets: Linux
Parameters
Name | Documentation |
---|---|
path | Path to the file / directory. This parameter is required. |
mode | Mode to enforce. This parameter is optional. |
owner | Owner to enforce. This parameter is optional. |
group | Group to enforce. This parameter is optional. |
Example
method: permissions_recursive
params:
path: VALUE
mode: OPTIONAL_VALUE
owner: OPTIONAL_VALUE
group: OPTIONAL_VALUE
Documentation
The method ensures that all files and directories under path
have
the correct owner, group owner and permissions.
This method is in fact a call to the permissions_type_recursion method with "all" type and "inf" recursion.