touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #16738
[Bug 1368084] [NEW] phablet-shell: 72: [: /bin/bash:: unexpected operator, tries to read /root/.bash_profile
Public bug reported:
Recent phablet-shell (r307) gives a lot of error messages:
$ ~/ubuntu/phablet-tools/phablet-shell
/home/martin/ubuntu/phablet-tools/phablet-shell: 72: [: /bin/bash:: unexpected operator
/bin/bash: /root/.bash_profile: Permission denied
/home/martin/.ssh/known_hosts updated.
Original contents retained as /home/martin/.ssh/known_hosts.old
9 KB/s (395 bytes in 0.040s)
/bin/bash: /root/.bash_profile: Permission denied
/bin/bash: /root/.bash_profile: Permission denied
/bin/bash: /root/.bash_profile: Permission denied
The syntax error comes from
ADBUID="$(adb shell "id -u"|tr -d '\n')"
if [ $ADBUID -eq 0 ]; then
as the shell command includes all these errors about
/root/.bash_profile:
$ adb shell 'id -u'
/bin/bash: /root/.bash_profile: Permission denied
32011
Supposedly the recent changes to adbd forgot to set a proper $HOME or
something similar?
** Affects: android-tools (Ubuntu)
Importance: Undecided
Status: New
** Affects: phablet-tools (Ubuntu)
Importance: Undecided
Status: New
** Also affects: android-tools (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- phablet-shell: 72: [: /bin/bash:: unexpected operator
+ phablet-shell: 72: [: /bin/bash:: unexpected operator, tries to read /root/.bash_profile
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1368084
Title:
phablet-shell: 72: [: /bin/bash:: unexpected operator, tries to read
/root/.bash_profile
Status in “android-tools” package in Ubuntu:
New
Status in “phablet-tools” package in Ubuntu:
New
Bug description:
Recent phablet-shell (r307) gives a lot of error messages:
$ ~/ubuntu/phablet-tools/phablet-shell
/home/martin/ubuntu/phablet-tools/phablet-shell: 72: [: /bin/bash:: unexpected operator
/bin/bash: /root/.bash_profile: Permission denied
/home/martin/.ssh/known_hosts updated.
Original contents retained as /home/martin/.ssh/known_hosts.old
9 KB/s (395 bytes in 0.040s)
/bin/bash: /root/.bash_profile: Permission denied
/bin/bash: /root/.bash_profile: Permission denied
/bin/bash: /root/.bash_profile: Permission denied
The syntax error comes from
ADBUID="$(adb shell "id -u"|tr -d '\n')"
if [ $ADBUID -eq 0 ]; then
as the shell command includes all these errors about
/root/.bash_profile:
$ adb shell 'id -u'
/bin/bash: /root/.bash_profile: Permission denied
32011
Supposedly the recent changes to adbd forgot to set a proper $HOME or
something similar?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/android-tools/+bug/1368084/+subscriptions
Follow ups
References