summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-06-10 11:21:07 +0200
committerXavier Morel <xmo@openerp.com>2013-06-10 11:21:07 +0200
commit1ef68b28060d210f53d1f50341572e131e2ebcba (patch)
tree9156c8dd3fbca93bff3960ee990d57716925cfce /addons/analytic_user_function/analytic_user_function.py
parente403f2cbde99d31d8341972426da546649fe932b (diff)
parent22ba680c7e19c60063ab7d787a5cd8507a193d5c (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.py')
0 files changed, 0 insertions, 0 deletions