Hi! On the last FESCo meeting while discussing the sudo pip Fedora [Change], maxamillion proposed that it might be useful to issue a warning when a user tries to run pip with root privileges--as in most cases it's not what they should be doing (`pip install --user` is usually more appropriate).
What do you think?
[Change] https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe
Regards, Tomas Orsava
I should add that thanks to the aforementioned Fedora [Change] using `sudo pip` should not be dangerous as it could have been before, so the warning would be just for good measure.
[Change] https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe
Tomas
On 02/10/2017 06:35 PM, Tomas Orsava wrote:
Hi! On the last FESCo meeting while discussing the sudo pip Fedora [Change], maxamillion proposed that it might be useful to issue a warning when a user tries to run pip with root privileges--as in most cases it's not what they should be doing (`pip install --user` is usually more appropriate).
What do you think?
[Change] https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe
Regards, Tomas Orsava _______________________________________________ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-leave@lists.fedoraproject.org
Having been badly burned by sudo pip install in the past, I agree that a warning is appropriate, with a suggestion to use pip install --user
On Fri, Feb 10, 2017 at 1:28 PM Tomas Orsava torsava@redhat.com wrote:
Hi! On the last FESCo meeting while discussing the sudo pip Fedora [Change], maxamillion proposed that it might be useful to issue a warning when a user tries to run pip with root privileges--as in most cases it's not what they should be doing (`pip install --user` is usually more appropriate).
What do you think?
[Change] https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe
Regards, Tomas Orsava _______________________________________________ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-leave@lists.fedoraproject.org
I'm not a member of the SIG, but as someone who did this in the past before learning proper practices, I would find this *extremely* helpful, especially when running certain software that explicitly tells the user to run this, even with it being bad practice.
A big +1 from me…
On 02/10/2017 07:31 PM, Neal Becker wrote:
Having been badly burned by sudo pip install in the past, I agree that a warning is appropriate, with a suggestion to use pip install --user
On Fri, Feb 10, 2017 at 1:28 PM Tomas Orsava <torsava@redhat.com mailto:torsava@redhat.com> wrote:
Hi! On the last FESCo meeting while discussing the sudo pip Fedora [Change], maxamillion proposed that it might be useful to issue a warning when a user tries to run pip with root privileges--as in most cases it's not what they should be doing (`pip install --user` is usually more appropriate). What do you think? [Change] https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe Regards, Tomas Orsava _______________________________________________ python-devel mailing list -- python-devel@lists.fedoraproject.org <mailto:python-devel@lists.fedoraproject.org> To unsubscribe send an email to python-devel-leave@lists.fedoraproject.org <mailto:python-devel-leave@lists.fedoraproject.org>
python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-leave@lists.fedoraproject.org
On 10 February 2017 at 18:35, Tomas Orsava torsava@redhat.com wrote:
Hi! On the last FESCo meeting while discussing the sudo pip Fedora [Change], maxamillion proposed that it might be useful to issue a warning when a user tries to run pip with root privileges--as in most cases it's not what they should be doing (`pip install --user` is usually more appropriate).
What do you think?
I guess when you're building an RPM you're not typically running as root either, so standard RPM builds would still be fine. So +1 from me.
Cheers, Nick.
Hi! The warning when sudo pip installing is deployed in rawhide!
Package version: python-pip-9.0.1-6.fc26.
Cheers, Tomas
On 02/10/2017 06:35 PM, Tomas Orsava wrote:
Hi! On the last FESCo meeting while discussing the sudo pip Fedora [Change], maxamillion proposed that it might be useful to issue a warning when a user tries to run pip with root privileges--as in most cases it's not what they should be doing (`pip install --user` is usually more appropriate).
What do you think?
[Change] https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe
Regards, Tomas Orsava _______________________________________________ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-leave@lists.fedoraproject.org
python-devel@lists.fedoraproject.org