jkutner/torquebox-remote-deployer — pull request #11 by kbrock (2012-12-05 04:48:49+00:00)
Title: chmod knob file

Hello,

We deploy to the server as a user in the torquebox group (but not the torquebox user)

Since this code uses Tempfile, the knob.yml file is created as chmod 600. scp keeps those privileges.

This patch changes the privs on the knob.yml file to 644 (owner write, user/group read).
Incidentally, this is the same privileges as all the other files for our deploy.

If you have a suggestion for fixing it another way, please let me know and I'll change.

Thanks for the great gem,
Keenan