jordansissel/fpm — pull request #195 by ephess (2012-04-02 03:39:12+00:00)
Title: Preserving permissions prototype

Heya,

Sorry about the delay on this, been a busy few weeks at work.

I've got an initial prototype working which seems to avoid using a post install file to set permissions on the files after installation - what do you think of doing things this way?

I would be inclined to set the default owner/group to root and preserve the original file mode - do you agree with this? Currently the owner/group varies depending on whether fpm is run as a regular user or as root.

I then propose we add the 2 options you suggested --owner and --group with '-' for preserving current owner/group.

I do note that this change would only work with director as a source, are you happy with this?

Any feedback you have would be appreciated.