permissions_recurse

Verify if a file or directory has the right permissions recursively.

⚙️ Compatible targets: Linux

⚠️ Deprecated: This method is deprecated and should not be used.

Parameters

NameDocumentation
pathPath to the file / 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_recurse
params:
  path: VALUE
  group: OPTIONAL_VALUE
  owner: OPTIONAL_VALUE
  mode: OPTIONAL_VALUE