[DRE-maint] [Bug 696271] Re: Insufficient privileges for Passenger spawned application

Simon Bazley 696271 at bugs.launchpad.net
Fri May 27 10:20:59 UTC 2011


(I'd guess that it passenger becomes nobody if it finds that it is root).  
So either way a fix is needed, either:-
1) Add PassengerDefaultUser www-data to passenger.conf 
or 
2) Add code to the package script, to set the ownership of environment.rb to www-data

#1 would seem to me to be the best solution as #2 is a little obscure if
you're not familiar with passenger and how it works.

-- 
You received this bug notification because you are subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/696271

Title:
  Insufficient privileges for Passenger spawned application

Status in “redmine” package in Ubuntu:
  New

Bug description:
  Binary package hint: redmine

  If Redmine is hosted by Apache with Passenger, Passenger spawns
  Redmine as user=nobody which can not see the configuration files in
  /etc/redmine/default. The following line must be added to /etc/apache2
  /mods-available/passenger.conf:

    PassengerDefaultUser www-data





More information about the Pkg-ruby-extras-maintainers mailing list