Local File Permission Action Plugin

This action plug-in provides the ability to do the chmod and chown file operations after a file has been downloaded.
Saved Parameters Description
- Name: The name used to identify a saved LocalFilePermissions configured instance.
- File(s): The files or directories to perform the above said operation on. GLOB wildcard are supported and multiple files can be enterred separated by ','
- Permissions code: The mode integer value to use while doing the chmod command. It is a 3 character octal number.
- User UID or name: The user id to use while doing the chown command.
- Group GID or name: The group id to use while doing the chown command.
- Recursive: Indicate whether the operation should descend recursively.
Inputs Description
The list of inputs depends on the configuration of the LocalFilePermissions action template.
All parameters are available as inputs at run time if not specified by the template. This plugin does not support value overwrites; if a value is specified in the template, it will not be available as input of the step at run time.
Outputs Description
- CHOWN_File_list: The list of files on which the CHOWN was successful
- CHOWN_Failed_list: The list of files on which the CHOWN was un-successful
- CHMOD_File_list: The list of files on which the CHMOD was successful
- CHMOD_Failed_list: The list of files on which the CHMOD was un-successful
Supported Actions
None
Operating Instructions
This plugin allows CHMOD and CHOWN commands to be performed on a file on local system.
It supports both file based and directory based operations: if a directory is specified, all included files and subfolder will be used as input.