search for: deployer_takes_control

Displaying 1 result from an estimated 1 matches for "deployer_takes_control".

2011 Apr 11
0
Suggestions for a secure rails setup regarding system users, groups and permissions.
...oyer account to sudoers, but restricts sudo commands to just those listed. Am I missing any other necessary sudo-specific commands here? I think I''d also need to add some more tasks that set the user accordingly before update_code and after update_code, right? such as... before - task :deployer_takes_control do # required so the deploy user can modify files from deploy to deploy sudo "chown -R #{deploy_user}:#{webapp_group} #{release_path}" end after- task :webapp_takes_control do # done with the deploy. returns things to normal so that myapp user owns the files sudo "chown...