search for: webapp_takes_control

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

2011 Apr 11
0
Suggestions for a secure rails setup regarding system users, groups and permissions.
...hat 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 -R #{webapp_user}:#{webapp_group} #{release_path}" end Lastly, I''m not entirely clear on what the benefits of this are, but I''ve also seen a few recommendations t...