Modify

Ticket #212 (closed enhancement: fixed)

Opened 4 years ago

Last modified 2 years ago

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

comment:1 Changed 2 years ago by mrook

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

comment:2 Changed 2 years ago by mrook

  • Status changed from new to closed
  • Resolution set to fixed

This bug has been fixed in the SVN tree, revision r519.

Thank you for the report, and for helping us make Phing better!

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.