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.

Example

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