devauth server creates auth.db with the wrong privileges

Bug #666957 reported by John Dickinson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Medium
clayg

Bug Description

if one starts the auth server as root and auth.db does not exist, it will be created as root (before the privilege drop). This causes subsequent requests to fail (permissions don't allow non-owner to read/write).

Related branches

Revision history for this message
gholt (gholt) wrote :

This is a more general problem with run_wsgi I think. I don't see a particular reason why it needs to create the app before dropping privileges.

summary: - devauth server creates auth.db with the wrong privilages
+ devauth server creates auth.db with the wrong privileges
Revision history for this message
clayg (clay-gerrard) wrote :

I'm working on run_wsgi for another thing, I'll fix this while I'm in there.

Changed in swift:
assignee: nobody → clayg (clay-gerrard)
clayg (clay-gerrard)
Changed in swift:
status: New → In Progress
clayg (clay-gerrard)
Changed in swift:
status: In Progress → Fix Committed
Chuck Thier (cthier)
Changed in swift:
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

Related questions

Remote bug watches

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