Table of Contents
Set permissions on a file or directory (non recursively)
Compatible with nodes running Rudder 2.11 or higher.
- path: Path to the file/directory
- mode: Mode to enforce (like "640")
- owner: Owner to enforce (like "root")
- group: Group to enforce (like "wheel")
permissions_${path}_{kept, repaired, not_ok, reached}
Verify if a directory has the right permissions non recursively
Compatible with nodes running Rudder 2.11 or higher.
- path: Path of the directory
- mode: Mode to enfore
- owner: Owner to enforce
- group: Group to enforce
permissions_${path}_{kept, repaired, not_ok, reached}
Verify if a directory has the right permissions recursively
Compatible with nodes running Rudder 2.11 or higher.
- path: Path to the directory
- mode: Mode to enforce
- owner: Owner to enforce
- group: Group to enforce
permissions_${path}_{kept, repaired, not_ok, reached}
Verify if a file or directory has the right permissions recursively
Compatible with nodes running Rudder 2.11 or higher.
- path: Path to the file / directory
- mode: Mode to enforce
- owner: Owner to enforce
- group: Group to enforce
permissions_${path}_{kept, repaired, not_ok, reached}
This is a bundle to ensure that a file or directory is present and has the right mode/owner/group
Compatible with nodes running Rudder 2.11 or higher.
- path: Path to edit
- mode: Mode of the path to edit
- owner: Owner of the path to edit
- group: Group of the path to edit
- type: Type of the path to edit (all/files/directories)
- recursion: Recursion depth to enforce for this path (0, 1, 2, …, inf)
permissions_${path}_{kept, repaired, not_ok, reached}