Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

permissions_dirs

Verify if a directory has the right permissions non recursively.

⚙️ Compatible targets: Linux

Parameters

NameDocumentation
pathPath of the directory.

This parameter is required.
modeMode to enforce.

This parameter is optional.
ownerOwner to enforce.

This parameter is optional.
groupGroup to enforce.

This parameter is optional.

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
  • ❌ Error: permissions_${path}_error

Example

method: permissions_dirs
params:
  owner: OPTIONAL_VALUE
  group: OPTIONAL_VALUE
  path: VALUE
  mode: OPTIONAL_VALUE