capistrano / symfony

Capistrano tasks for deploying the Symfony standard edition
MIT License
354 stars 65 forks source link

Make :symfony_console_path executable #77

Closed pbowyer closed 6 years ago

pbowyer commented 7 years ago

On all my deployments, :symfony_console_path (bin/console) never has the executable bit set.

pbowyer commented 7 years ago

My workaround:

task :chmod_console do
  on roles(:all) do |host|
    within release_path do
      execute :chmod, "755", "bin/console"
    end
  end
end

before 'deploy:updated','chmod_console'
ruudk commented 7 years ago

I have the same issue.