File module: Get permissions

Read a directory recursively and list all permission modes.

Example

List all directory permissions with subdirectory depth of 1:

space -m file /getpermissions/ -- "/home/user/temporary_files/" "1"

Exit status code is expected to be 0 on success.

Edit this page