Permalink
Browse files

chmod cache after `cc` for group write access

  • Loading branch information...
1 parent c8e465f commit 60bc390a403b4a4393654e3878352f9969afd53d @everzet committed May 4, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/symfony1.rb
View
2 lib/symfony1.rb 100755 → 100644
@@ -85,6 +85,7 @@ def load_database_config(data, env)
task :finalize_update, :except => { :no_release => true } do
run "chmod -R g+w #{latest_release}" if fetch(:group_writable, true)
run "mkdir -p #{latest_release}/cache"
+ run "chmod -R g+w #{latest_release}/cache"
# Share common files & folders
share_childs
@@ -132,6 +133,7 @@ def load_database_config(data, env)
desc "Clears the cache"
task :cc do
run "#{php_bin} #{latest_release}/symfony cache:clear"
+ run "chmod -R g+w #{latest_release}/cache"
end
desc "Creates symbolic link to symfony lib in shared"

0 comments on commit 60bc390

Please sign in to comment.