diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-06-10 11:21:07 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-06-10 11:21:07 +0200 |
| commit | 1ef68b28060d210f53d1f50341572e131e2ebcba (patch) | |
| tree | 9156c8dd3fbca93bff3960ee990d57716925cfce /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | e403f2cbde99d31d8341972426da546649fe932b (diff) | |
| parent | 22ba680c7e19c60063ab7d787a5cd8507a193d5c (diff) | |
[FIX] picking of username for session data directory in case of setuid
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
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
