Set File Permissions Step

This step sets the permissions of files and directories in the current working directory.

Required properties:

Property Name Description
Includes The files and directories for which to change the permissions. This is a new-line separated list of file patterns in the ant style. For example:
  • **/* will match all directories and files recursively
  • **/test/* will match all files and direct subfolders in a folder named "test" anywhere in the file tree

Optional properties:

Property Name Description
Directory Specify the directory in which to search for files. If omitted, the work directory of the plugin is used.
Excludes

The files and directories that should be excluded, limited to those matched by the includes. Use the same patterns as described for Includes.

Permission String The permission string to apply to the matched files, such as 0777 or a+x
Type Select the file types on which to set permissions. Options include:
  • both
  • file
  • dir