Changes the owner of a file or directory.
Table 31. 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 |
user |
String |
The new owner of the file. Can contain a username and a groupname, separated by a dot. | n/a | No |
group |
String |
The new group owner of the file. | n/a | No |
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 |