Bug 7041 - bin/install should warn if user is root
: bin/install should warn if user is root
Status: RESOLVED FIXED
: Nimbus
Installer
: 2.4
: PC Linux
: P3 normal
: 2.5
Assigned To:
:
:
:
: 7013
  Show dependency treegraph
 
Reported: 2010-06-08 16:13 by
Modified: 2010-07-01 15:32 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2010-06-08 16:13:01
bin/install should warn if user is root
------- Comment #1 From 2010-06-08 16:13:39 -------
or fail?
------- Comment #2 From 2010-06-14 12:45:13 -------
Added root check to bin/install. If one really wants to install as root, they
can edit this script and flip the ALLOW_ROOT_INSTALL variable.

http://github.com/nimbusproject/nimbus/commit/8cb5a4f56a4b7908cbe71afabbcf49996cad8c86
------- Comment #3 From 2010-06-14 13:00:58 -------
A comment related to this way of changing the behavior of the install script: I
think it would be better if it was using environment variables instead of
having to edit the script.
------- Comment #4 From 2010-06-14 22:06:59 -------
Alright, made change

http://github.com/nimbusproject/nimbus/commit/33ae1481f7bd39b13537f36352eac6f8034708a5
------- Comment #5 From 2010-07-01 15:32:15 -------
Note that this is ./install now, not ./bin/install