ChmodTask

Sets the mode of a file or directory.

For more informations, see chmod in the PHP Manual.

Table 30. Attributes

Name Type Description Default Required
file String The name of the file or directory. You either have to specify this attribute, or use a fileset. n/a Yes
mode String The new mode (octal) for the file. Specified in octal, even if the first digit is not a '0'. n/a Yes
quiet Boolean Set quiet mode, which suppresses warnings if chmod() fails false No
failonerror Boolean This flag means 'note errors to the output, but keep going' true No
verbose Boolean Give more information in error message in case of a failure true No