Configuration inconsistent with file permissions

Bug #551895 reported by Francois Trahan
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
redmine (Debian)
Fix Released
Unknown
redmine (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: redmine

ubuntu : lucid beta x86
redmine : 0.9.3-1

In the supplied example configurations for apache, there's one for passenger.

Passenger runs as user "nobody" while the configuration files (/etc/redmine/default/*) are owned by "www-data". Also, the attachment folders are owned by "www-data".

The fixe i've used :
add the line "PassengerDefaultUser www-data" to passenger.conf (not perfect, but not so bad on a dedicated system...)

Revision history for this message
Sven Kalinowski (info-svenkalinowski) wrote :

solution to this issue

chown www-data /usr/share/redmine/config/environment.rb

Description:

When passenger runs, it chages to the user who owns "/usr/share/redmine/config/environment.rb" which is root.
But passenger never runs as root - it then changes to nobody.

All files comming from the redmine*.debs are owned by www-data.

Changed in redmine (Ubuntu):
status: New → Confirmed
Revision history for this message
Felix Geyer (debfx) wrote :

This is fixed in package version 0.9.4-1 and will automatically we synced to maverick.

Changed in redmine (Ubuntu):
status: Confirmed → Fix Committed
Changed in redmine (Debian):
status: Unknown → Fix Released
Felix Geyer (debfx)
Changed in redmine (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.