File module: Restore permissions

Restores a list of directory permissions recursively.

Example

space -m file /restorepermissions/ -- "/home/user/temporary_files/" "755"

Exit status code is expected to be 0 on success.

Edit this page