Cyrille, Nothing changed in that area, can you provide more output so I can debug it better?
Thanks, -- Lee Hambley Twitter: @leehambley Blog: http://lee.hambley.name/ Working with Rails: http://is.gd/1s5W1 2009/8/18 Cyrille <[email protected]> > > Hi there, > > I've found the source of my problems. It is Capistrano 2.5.8. > > The problem: Capistrano 2.5.8 is prompting for the sudo password at > the command line. > > The fix: revert to Capistrano 2.5.5! > > As a reminder, this is the command I use: > > sudo "chown -R #{apache_user} #{release_path}" > > My server runs Ubuntu. > > I looked at the release notes for Capistrano 2.5.7 and 2.5.8 and I > can't see anything related to sudo... > > My problem is solved, but is there a bug or a new *feature* in > Capistrano 2.5.8?? > > Cyrille > > On Aug 18, 4:34 pm, Cyrille <[email protected]> wrote: > > Hi guys, > > > > My deployment works fine from my local machine, but fails from a > > different machine (under a different user). > > > > It fails on the first task that uses sudo. Here is the task: > > > > task :after_symlink do > > sudo "chown -R #{apache_user} #{release_path}" > > end > > > > And the error is: > > > > Password: stty: standard input: Inappropriate ioctl for device > > > > The key difference (I think) is that the deployment runs under the > > Apache user (I use Integrity). > > > > Something must be wrong with the stdin for that user, but I can't > > quite put my finger on it and I have a low Google fu today... > > > > Suggestions and hints welcome! > > > > Cheers > > > > Cyrille > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Capistrano" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.co.uk/group/capistrano?hl=en -~----------~----~----~----~------~----~------~--~---
