projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
e403f2c
22ba680
)
[FIX] picking of username for session data directory in case of setuid
author
Xavier Morel
<xmo@openerp.com>
Mon, 10 Jun 2013 09:21:07 +0000
(11:21 +0200)
committer
Xavier Morel
<xmo@openerp.com>
Mon, 10 Jun 2013 09:21:07 +0000
(11:21 +0200)
Try using geteuid() before getpass.getuser() so a system where
environment user and effective user (e.g. sudo, start-stop-daemon)
creates session-storage directory with a username matching the access
rights.
lp bug: https://launchpad.net/bugs/1172306 fixed
bzr revid: xmo@openerp.com-
20130610092107
-o4ym83e4ycz450un
Trivial merge