Modify ↓
Ticket #212 (closed enhancement: fixed)
Make file perms configurable in copy task
| Reported by: | hans | Owned by: | hans |
|---|---|---|---|
| Priority: | major | Milestone: | 2.4.0RC1 |
| Component: | phing-tasks-system | Version: | 2.3.0 |
| Keywords: | Cc: |
Description
From Gerard on list:
If phing creates a directory, another developer cannot remove the directory because the directory is not group-writable be default. Looking at the code, the directory creation mode is hard-coded to 0755 in phing/system/io/FileSystem.php::createDirectory(). I want permissions to be 0775, but umask cannot increase permissions. For now, I've removed that parameter, but I dislike modifying the phing code of course. Is there some nicer way to change that default permission mode from my own tasks? Or maybe this could be an attribute in future versions?
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

(In [519]) Refs #212 - Make file perms configurable in copy and move tasks