Ticket #212 (new enhancement)

Opened 4 months ago

Make file perms configurable in copy task

Reported by: hans Assigned to: hans
Priority: major Milestone: 2.3.1
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


Add/Change #212 (Make file perms configurable in copy task)