Message273699
Can I somehow change the setup.py script such that I can create a new set of (group, user) with specific privileges only needed for installation and uninstallation.
Once a new set of (group, user) is created, I can always do
os.setgid(gid) and os.setuid(uid)
But, I can't figure out how to change setup.py to create a new set of permissions during installation. It should be possible because at time of installation setup.py runs with sudo privileges. |
|
Date |
User |
Action |
Args |
2016-08-26 09:57:09 | upendra-k14 | set | recipients:
+ upendra-k14, rhettinger, terry.reedy, ncoghlan, ned.deily, dstufft, lorenzogotuned |
2016-08-26 09:57:09 | upendra-k14 | set | messageid: <1472205429.64.0.612101791733.issue27051@psf.upfronthosting.co.za> |
2016-08-26 09:57:09 | upendra-k14 | link | issue27051 messages |
2016-08-26 09:57:09 | upendra-k14 | create | |
|