Upendra Kumar added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue27051> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com