Reconcile deploy and daemon w/ deprec

I’m used the deprec gem to set up capistrano, subversion, apache, etc
It works great except that my rails app has a file upload feature that
doesn’t work due to a permissions error. On a server where apache and
mongrel are both running as www-data it works fine but not on the server
where apache runs as daemon, mongrel runs as my app name and the
permissions for the directory are for deploy. I believe that’s was
causing my problem.

How can I reconcile that? I tried adding daemon to the deploy group and
vice versa but I think it’s b/c mongrel is still running as app_appname
even though I put this in my deploy.rb:

set :mongrel_user, ‘www-data’

Any tips would be much appreciated.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs