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
> > root@neptune:/tmp/easyubuntu # python easyubuntu.in > 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.replace(confdir) > File "/tmp/easyubuntu/EasyUbuntu/detect.py", line 184, in replace > 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 >
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
>