Skip to content

Instantly share code, notes, and snippets.

@standout
Created November 2, 2008 11:33
Show Gist options
  • Save standout/21687 to your computer and use it in GitHub Desktop.
Save standout/21687 to your computer and use it in GitHub Desktop.
# Make sure we have the correct permissions on everything
task :after_symlink, :roles => :app do
run "chmod -R 755 #{current_path}/tmp"
run "chown -R www-data:www-data #{current_path}/"
run "chown -R www-data:www-data #{shared_path}/"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment