cannot be launched as root
Bug #51589 reported by
Berti
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EasyUbuntu |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
If I try to launch easy-ubuntu as root, it crashes :
root@neptune:
System sanity check: PASSED!
amd64 detected
Traceback (most recent call last):
File "easyubuntu.in", line 51, in ?
main()
File "easyubuntu.in", line 42, in main
detect.
File "/tmp/easyubunt
cmd = "chown -R " + user + ":" + user + " " + confdir
TypeError: cannot concatenate 'str' and 'NoneType' objects
If I log as usual user & launch it via sudo, it's OK.
To post a comment you must log in.
Berti wrote:
> Public bug reported:
>
> If I try to launch easy-ubuntu as root, it crashes :
rg/kb
can we have an `if (uid=0); echo "Please do not run EasyUbuntu inside a
root shell"; fail` arangement?
kk
> /tmp/easyubuntu # python easyubuntu.in replace( confdir) u/EasyUbuntu/ detect. py", line 184, in replace
> root@neptune:
> System sanity check: PASSED!
> amd64 detected
> Traceback (most recent call last):
> File "easyubuntu.in", line 51, in ?
> main()
> File "easyubuntu.in", line 42, in main
> detect.
> File "/tmp/easyubunt
> cmd = "chown -R " + user + ":" + user + " " + confdir
> TypeError: cannot concatenate 'str' and 'NoneType' objects
>
> If I log as usual user & launch it via sudo, it's OK.
>
> ** Affects: easyubuntu (upstream)
> Importance: Untriaged
> Status: Unconfirmed
>