Permalink
Browse files

add write access to `app/cache` for the deployer usergroup

  • Loading branch information...
1 parent df72850 commit 21fbefcc1c66a8d2a386688bcb4d60005d18aed1 @everzet committed May 4, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/symfony2.rb
View
@@ -46,6 +46,7 @@
run "chmod -R g+w #{latest_release}" if fetch(:group_writable, true)
run "if [ -d #{latest_release}/#{app_path}/cache ] ; then rm -rf #{latest_release}/#{app_path}/cache; fi"
run "mkdir -p #{latest_release}/#{app_path}/cache && chmod -R 0777 #{latest_release}/#{app_path}/cache"
+ run "chmod -R g+w #{latest_release}/#{app_path}/cache"
share_childs

0 comments on commit 21fbefc

Please sign in to comment.