Displaying 1 result from an estimated 1 matches for "deploy_user".
2011 Apr 11
0
Suggestions for a secure rails setup regarding system users, groups and permissions.
...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 -R #{webapp_user}:#{webapp_group} #{release_path}"
end
Lastly, I''m not entirely clear on w...