classes/phing/tasks/system/ChownTask.php
\ChownTask
Task that changes the permissions on a file/directory.
Use {@link Project#createTask} to register a new Task.
- Extends from
- \Task
- author
- Mehmet Emre Yilmaz
- copyright
- 2001,2002 THYRELL. All rights reserved
- package
- phing.tasks.system
- version
- $Revision: 765 $
Properties
Methods

chownFile(
\PhingFile $file, string $user, string $group
)
:
Actually change the mode for the file.
| Name | Type | Description |
|---|---|---|
| $file | \PhingFile | |
| $user | string | |
| $group | string |

setFailonerror(
$bool
)
:
This flag means 'note errors to the output, but keep going'
| Name | Type | Description |
|---|---|---|
| $bool |
- see
- \setQuiet()

setFile(
$file
)
:
Sets a single source file to touch. If the file does not exist
an empty file will be created.
| Name | Type | Description |
|---|---|---|
| $file |

setQuiet(
$bool
)
:
Set quiet mode, which suppresses warnings if chown() fails.
| Name | Type | Description |
|---|---|---|
| $bool |
- see
- \setFailonerror()