tasks/system/ChownTask.php
\ChownTask
Package: phing\tasks\system
Task that changes the permissions on a file/directory.
- Parent(s)
- \Task < \ProjectComponent
- Author
- Mehmet Emre Yilmaz
- Version
- $Revision: 1368 $
Properties
Methods

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

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

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

setQuiet(
$bool
)
:
voidSet quiet mode, which suppresses warnings if chown() fails.
Parameters
Details
| Name | Type | Description |
|---|---|---|
| $bool |
- See
- \setFailonerror()