Bash completion script breaks installation if not running as root

Bug #1427842 reported by Tomaz Muraus
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-mistralclient
Invalid
Undecided
Unassigned
Liberty
Invalid
Medium
Unassigned

Bug Description

Hello,

I just wanted to let you know that the revision 102 (https://bazaar.launchpad.net/~rakhmerov/python-mistralclient/master/revision/102) breaks the package installation if you are not running install as root / using sudo.

You can see that here https://travis-ci.org/StackStorm/st2/jobs/52946756#L2779

We shouldn't always assume that installation runs as root (that's not always desired or possible for various reasons), so we should probably do something along the lines of:

1. Print the instructions - user needs to manually copy the file over
2. Only copy it over if running as root

Option #1 is probably the best since the completion script location is also somewhat Linux distribution specific (not to mention that this obviously won't work on Windows).

Revision history for this message
Anastasia Kuznetsova (akuznetsova) wrote :

Bug is quite old and probably related to this one https://bugs.launchpad.net/python-mistralclient/+bug/145505 which is fixed. Probably it can be closed too.

Changed in python-mistralclient:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.