1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Don't run the set_permissions task on no_deploy hosts

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6027 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2007-01-24 03:11:02 +00:00
parent 253b86bb1c
commit 61240ed18b

View file

@ -66,7 +66,7 @@ desc <<-DESC
Sets group permissions on checkout. Useful for team environments, bad on
shared hosts. Override this task if you're on a shared host.
DESC
task :set_permissions do
task :set_permissions, :except => { :no_release => true } do
run "chmod -R g+w #{release_path}"
end