Activity log for bug #1325571

Date Who What changed Old value New value Message
2014-06-02 12:23:33 Kajetan bug added bug
2014-06-04 14:07:10 Kajetan description I can't execute any shell scripts (bash/sh) in the terminal app, but it works using adb shell. When I try to run a shell script in the app I get the following error: bash: ./testscript: /bin/sh: bad interpreter: Permission denied When I run the script as root I get the following error: sudo: unable to execute ./testscript: Permission denied Permissions of the script: (ls -l ./testscript) -rwxrwxr-x 1 phablet phablet 21 Jun 2 14:11 ./testscript Permissions of /bin/sh and /bin/bash: lrwxrwxrwx 1 root root 4 May 13 13:59 /bin/sh -> dash -rwxr-xr-x 1 root root 666864 May 8 12:26 /bin/bash When I run the script using adb shell as 'phablet' it works as expected. My script contains the following two lines: #!/bin/sh echo test I can't execute any shell scripts (bash/sh) in the terminal app, but it works using adb shell. My device is the Nexus 4. The version of Ubuntu is 14.10 (r50). When I try to run a shell script in the app I get the following error: bash: ./testscript: /bin/sh: bad interpreter: Permission denied When I run the script as root I get the following error: sudo: unable to execute ./testscript: Permission denied Permissions of the script: (ls -l ./testscript) -rwxrwxr-x 1 phablet phablet 21 Jun 2 14:11 ./testscript Permissions of /bin/sh and /bin/bash: lrwxrwxrwx 1 root root 4 May 13 13:59 /bin/sh -> dash -rwxr-xr-x 1 root root 666864 May 8 12:26 /bin/bash When I run the script using adb shell as 'phablet' it works as expected. My script contains the following two lines: #!/bin/sh echo test
2014-06-11 13:31:51 Kajetan description I can't execute any shell scripts (bash/sh) in the terminal app, but it works using adb shell. My device is the Nexus 4. The version of Ubuntu is 14.10 (r50). When I try to run a shell script in the app I get the following error: bash: ./testscript: /bin/sh: bad interpreter: Permission denied When I run the script as root I get the following error: sudo: unable to execute ./testscript: Permission denied Permissions of the script: (ls -l ./testscript) -rwxrwxr-x 1 phablet phablet 21 Jun 2 14:11 ./testscript Permissions of /bin/sh and /bin/bash: lrwxrwxrwx 1 root root 4 May 13 13:59 /bin/sh -> dash -rwxr-xr-x 1 root root 666864 May 8 12:26 /bin/bash When I run the script using adb shell as 'phablet' it works as expected. My script contains the following two lines: #!/bin/sh echo test I can't execute any shell scripts (bash/sh) in the terminal app, but it works using adb shell. My device is the Nexus 4. The version of Ubuntu is 14.10 (r50). When I try to run a shell script in the app I get the following error: bash: ./testscript: /bin/sh: bad interpreter: Permission denied When I run the script as root I get the following error: sudo: unable to execute ./testscript: Permission denied Permissions of the script: (ls -l ./testscript) -rwxrwxr-x 1 phablet phablet 21 Jun 2 14:11 ./testscript Permissions of /bin/sh and /bin/bash: lrwxrwxrwx 1 root root 4 May 13 13:59 /bin/sh -> dash -rwxr-xr-x 1 root root 666864 May 8 12:26 /bin/bash When I run the script using adb shell as 'phablet' it works as expected. My script contains the following two lines: #!/bin/sh echo test EDIT: It seems that I can execute Scripts when I copy them to /bin. However, I did never change the permissions of my home direcotry and as far as I can remember I could run scripts as expected in r44.
2014-12-20 11:03:36 Kajetan description I can't execute any shell scripts (bash/sh) in the terminal app, but it works using adb shell. My device is the Nexus 4. The version of Ubuntu is 14.10 (r50). When I try to run a shell script in the app I get the following error: bash: ./testscript: /bin/sh: bad interpreter: Permission denied When I run the script as root I get the following error: sudo: unable to execute ./testscript: Permission denied Permissions of the script: (ls -l ./testscript) -rwxrwxr-x 1 phablet phablet 21 Jun 2 14:11 ./testscript Permissions of /bin/sh and /bin/bash: lrwxrwxrwx 1 root root 4 May 13 13:59 /bin/sh -> dash -rwxr-xr-x 1 root root 666864 May 8 12:26 /bin/bash When I run the script using adb shell as 'phablet' it works as expected. My script contains the following two lines: #!/bin/sh echo test EDIT: It seems that I can execute Scripts when I copy them to /bin. However, I did never change the permissions of my home direcotry and as far as I can remember I could run scripts as expected in r44. I can't execute any shell scripts (bash/sh) in the terminal app, but it works using adb shell. My device is the Nexus 4. The version of Ubuntu is 14.10 (r50). When I try to run a shell script in the app I get the following error: bash: ./testscript: /bin/sh: bad interpreter: Permission denied When I run the script as root I get the following error: sudo: unable to execute ./testscript: Permission denied Permissions of the script: (ls -l ./testscript) -rwxrwxr-x 1 phablet phablet 21 Jun 2 14:11 ./testscript Permissions of /bin/sh and /bin/bash: lrwxrwxrwx 1 root root 4 May 13 13:59 /bin/sh -> dash -rwxr-xr-x 1 root root 666864 May 8 12:26 /bin/bash When I run the script using adb shell as 'phablet' it works as expected. My script contains the following two lines: #!/bin/sh echo test EDIT: It seems that I can execute Scripts when I copy them to /bin. However, I did never change the permissions of my home direcotry and as far as I can remember I could run scripts as expected in r44. EDIT: It seems to work when I use "bash ./testscript".
2015-01-19 15:12:46 Kajetan description I can't execute any shell scripts (bash/sh) in the terminal app, but it works using adb shell. My device is the Nexus 4. The version of Ubuntu is 14.10 (r50). When I try to run a shell script in the app I get the following error: bash: ./testscript: /bin/sh: bad interpreter: Permission denied When I run the script as root I get the following error: sudo: unable to execute ./testscript: Permission denied Permissions of the script: (ls -l ./testscript) -rwxrwxr-x 1 phablet phablet 21 Jun 2 14:11 ./testscript Permissions of /bin/sh and /bin/bash: lrwxrwxrwx 1 root root 4 May 13 13:59 /bin/sh -> dash -rwxr-xr-x 1 root root 666864 May 8 12:26 /bin/bash When I run the script using adb shell as 'phablet' it works as expected. My script contains the following two lines: #!/bin/sh echo test EDIT: It seems that I can execute Scripts when I copy them to /bin. However, I did never change the permissions of my home direcotry and as far as I can remember I could run scripts as expected in r44. EDIT: It seems to work when I use "bash ./testscript". I can't execute any shell scripts (bash/sh) in the terminal app, but it works using adb shell. My device is the Nexus 4. The version of Ubuntu is 14.10 (r50). When I try to run a shell script in the app I get the following error: bash: ./testscript: /bin/sh: bad interpreter: Permission denied When I run the script as root I get the following error: sudo: unable to execute ./testscript: Permission denied Permissions of the script: (ls -l ./testscript) -rwxrwxr-x 1 phablet phablet 21 Jun 2 14:11 ./testscript Permissions of /bin/sh and /bin/bash: lrwxrwxrwx 1 root root 4 May 13 13:59 /bin/sh -> dash -rwxr-xr-x 1 root root 666864 May 8 12:26 /bin/bash When I run the script using adb shell as 'phablet' it works as expected. My script contains the following two lines: #!/bin/sh echo test EDIT: It seems that I can execute Scripts when I copy them to /bin. However, I did never change the permissions of my home direcotry and as far as I can remember I could run scripts as expected in r44. EDIT: It seems to work when I use "bash ./testscript". EDIT: The command I used to invoke the script is "./testscript"
2015-01-25 13:45:32 Kajetan description I can't execute any shell scripts (bash/sh) in the terminal app, but it works using adb shell. My device is the Nexus 4. The version of Ubuntu is 14.10 (r50). When I try to run a shell script in the app I get the following error: bash: ./testscript: /bin/sh: bad interpreter: Permission denied When I run the script as root I get the following error: sudo: unable to execute ./testscript: Permission denied Permissions of the script: (ls -l ./testscript) -rwxrwxr-x 1 phablet phablet 21 Jun 2 14:11 ./testscript Permissions of /bin/sh and /bin/bash: lrwxrwxrwx 1 root root 4 May 13 13:59 /bin/sh -> dash -rwxr-xr-x 1 root root 666864 May 8 12:26 /bin/bash When I run the script using adb shell as 'phablet' it works as expected. My script contains the following two lines: #!/bin/sh echo test EDIT: It seems that I can execute Scripts when I copy them to /bin. However, I did never change the permissions of my home direcotry and as far as I can remember I could run scripts as expected in r44. EDIT: It seems to work when I use "bash ./testscript". EDIT: The command I used to invoke the script is "./testscript" I can't execute any shell scripts (bash/sh) in the terminal app, but it works using adb shell. My device is the Nexus 4. The version of Ubuntu is 14.10 (r50). When I try to run a shell script in the app I get the following error: bash: ./testscript: /bin/sh: bad interpreter: Permission denied When I run the script as root I get the following error: sudo: unable to execute ./testscript: Permission denied Permissions of the script: (ls -l ./testscript) -rwxrwxr-x 1 phablet phablet 21 Jun 2 14:11 ./testscript Permissions of /bin/sh and /bin/bash: lrwxrwxrwx 1 root root 4 May 13 13:59 /bin/sh -> dash -rwxr-xr-x 1 root root 666864 May 8 12:26 /bin/bash When I run the script using adb shell as 'phablet' it works as expected. My script contains the following two lines: #!/bin/sh echo test EDIT: It seems that I can execute Scripts when I copy them to /bin. However, I did never change the permissions of my home direcotry and as far as I can remember I could run scripts as expected in r44. EDIT: It seems to work when I use "bash ./testscript". EDIT: The command I used to invoke the script is "./testscript" EDIT: When running "mount" I get (among others) the following line that mentions /home: /dev/mmcblk0p23 on /home type ext4 (rw,relatime,discard,data=ordered) In /etc/fstab the only line containing /home is /userdata/user-data /home none bind 0 0 However, I am not sure where /userdata/user-data comes from (I'll add a .txt file that contains the whole content of /etc/fstab)
2015-01-25 13:47:12 Kajetan attachment added my /etc/fstab file https://bugs.launchpad.net/ubuntu-terminal-app/+bug/1325571/+attachment/4305306/+files/fstab
2015-01-29 11:29:41 DECwriterIII attachment added Changing_your_login_shell.pdf https://bugs.launchpad.net/ubuntu-terminal-app/+bug/1325571/+attachment/4307823/+files/Changing_your_login_shell.pdf
2015-01-29 11:44:09 DECwriterIII attachment added Why doesn’t my _bin_sh script run under Ubuntu_ _ UNIX Administratosphere.pdf https://bugs.launchpad.net/ubuntu-terminal-app/+bug/1325571/+attachment/4307824/+files/Why%20doesn%E2%80%99t%20my%20_bin_sh%20script%20run%20under%20Ubuntu_%20_%20UNIX%20Administratosphere.pdf
2015-01-29 14:58:46 Kajetan description I can't execute any shell scripts (bash/sh) in the terminal app, but it works using adb shell. My device is the Nexus 4. The version of Ubuntu is 14.10 (r50). When I try to run a shell script in the app I get the following error: bash: ./testscript: /bin/sh: bad interpreter: Permission denied When I run the script as root I get the following error: sudo: unable to execute ./testscript: Permission denied Permissions of the script: (ls -l ./testscript) -rwxrwxr-x 1 phablet phablet 21 Jun 2 14:11 ./testscript Permissions of /bin/sh and /bin/bash: lrwxrwxrwx 1 root root 4 May 13 13:59 /bin/sh -> dash -rwxr-xr-x 1 root root 666864 May 8 12:26 /bin/bash When I run the script using adb shell as 'phablet' it works as expected. My script contains the following two lines: #!/bin/sh echo test EDIT: It seems that I can execute Scripts when I copy them to /bin. However, I did never change the permissions of my home direcotry and as far as I can remember I could run scripts as expected in r44. EDIT: It seems to work when I use "bash ./testscript". EDIT: The command I used to invoke the script is "./testscript" EDIT: When running "mount" I get (among others) the following line that mentions /home: /dev/mmcblk0p23 on /home type ext4 (rw,relatime,discard,data=ordered) In /etc/fstab the only line containing /home is /userdata/user-data /home none bind 0 0 However, I am not sure where /userdata/user-data comes from (I'll add a .txt file that contains the whole content of /etc/fstab) I can't execute any shell scripts (bash/sh) in the terminal app, but it works using adb shell. My device is the Nexus 4. The version of Ubuntu is 14.10 (r50). When I try to run a shell script in the app I get the following error: bash: ./testscript: /bin/sh: bad interpreter: Permission denied When I run the script as root I get the following error: sudo: unable to execute ./testscript: Permission denied Permissions of the script: (ls -l ./testscript) -rwxrwxr-x 1 phablet phablet 21 Jun 2 14:11 ./testscript Permissions of /bin/sh and /bin/bash: lrwxrwxrwx 1 root root 4 May 13 13:59 /bin/sh -> dash -rwxr-xr-x 1 root root 666864 May 8 12:26 /bin/bash When I run the script using adb shell as 'phablet' it works as expected. My script contains the following two lines: #!/bin/sh echo test EDIT: When I use "#!/bin/bash" in my script I get the same error message (just with "/bin/bash" instead of "/bin/sh") EDIT: It seems that I can execute Scripts when I copy them to /bin. However, I did never change the permissions of my home direcotry and as far as I can remember I could run scripts as expected in r44. EDIT: It seems to work when I use "bash ./testscript". EDIT: The command I used to invoke the script is "./testscript" EDIT: When running "mount" I get (among others) the following line that mentions /home: /dev/mmcblk0p23 on /home type ext4 (rw,relatime,discard,data=ordered) In /etc/fstab the only line containing /home is /userdata/user-data /home none bind 0 0 However, I am not sure where /userdata/user-data comes from (I'll add a .txt file that contains the whole content of /etc/fstab)
2015-02-01 17:43:45 DECwriterIII bug added subscriber DECwriterIII
2015-04-13 18:01:24 jezra bug added subscriber jezra
2015-08-14 15:44:48 K1773R bug added subscriber K1773R
2015-11-22 12:19:34 Kajetan description I can't execute any shell scripts (bash/sh) in the terminal app, but it works using adb shell. My device is the Nexus 4. The version of Ubuntu is 14.10 (r50). When I try to run a shell script in the app I get the following error: bash: ./testscript: /bin/sh: bad interpreter: Permission denied When I run the script as root I get the following error: sudo: unable to execute ./testscript: Permission denied Permissions of the script: (ls -l ./testscript) -rwxrwxr-x 1 phablet phablet 21 Jun 2 14:11 ./testscript Permissions of /bin/sh and /bin/bash: lrwxrwxrwx 1 root root 4 May 13 13:59 /bin/sh -> dash -rwxr-xr-x 1 root root 666864 May 8 12:26 /bin/bash When I run the script using adb shell as 'phablet' it works as expected. My script contains the following two lines: #!/bin/sh echo test EDIT: When I use "#!/bin/bash" in my script I get the same error message (just with "/bin/bash" instead of "/bin/sh") EDIT: It seems that I can execute Scripts when I copy them to /bin. However, I did never change the permissions of my home direcotry and as far as I can remember I could run scripts as expected in r44. EDIT: It seems to work when I use "bash ./testscript". EDIT: The command I used to invoke the script is "./testscript" EDIT: When running "mount" I get (among others) the following line that mentions /home: /dev/mmcblk0p23 on /home type ext4 (rw,relatime,discard,data=ordered) In /etc/fstab the only line containing /home is /userdata/user-data /home none bind 0 0 However, I am not sure where /userdata/user-data comes from (I'll add a .txt file that contains the whole content of /etc/fstab) I can't execute any shell scripts (bash/sh) in the terminal app, but it works using adb shell. My device is the Nexus 4. The version of Ubuntu is 14.10 (r50). When I try to run a shell script in the app I get the following error: bash: ./testscript: /bin/sh: bad interpreter: Permission denied When I run the script as root I get the following error: sudo: unable to execute ./testscript: Permission denied Permissions of the script: (ls -l ./testscript) -rwxrwxr-x 1 phablet phablet 21 Jun 2 14:11 ./testscript Permissions of /bin/sh and /bin/bash: lrwxrwxrwx 1 root root 4 May 13 13:59 /bin/sh -> dash -rwxr-xr-x 1 root root 666864 May 8 12:26 /bin/bash When I run the script using adb shell as 'phablet' it works as expected. My script contains the following two lines: #!/bin/sh echo test EDIT: When I use "#!/bin/bash" in my script I get the same error message (just with "/bin/bash" instead of "/bin/sh") EDIT: It seems that I can execute Scripts when I copy them to /bin. However, I did never change the permissions of my home direcotry and as far as I can remember I could run scripts as expected in r44. EDIT: It seems to work when I use "bash ./testscript". EDIT: The command I used to invoke the script is "./testscript" EDIT: When running "mount" I get (among others) the following line that mentions /home: /dev/mmcblk0p23 on /home type ext4 (rw,relatime,discard,data=ordered) In /etc/fstab the only line containing /home is /userdata/user-data /home none bind 0 0 However, I am not sure where /userdata/user-data comes from (I'll add a .txt file that contains the whole content of /etc/fstab) EDIT: It seems that the contents of the home directory can also be accessed in /userdata/user-data/phablet/ and there I can run the testscript I created using "./testscript". I now aliased "cdh" with "cd /userdata/user-data/phablet" and added it to my .bashrc file. When I want to execute a shell script in my home directory I now only have to enter "cdh" and then I can execute shell scripts as expected.
2016-01-29 11:24:28 David Planella ubuntu-terminal-app: status New Incomplete
2016-01-29 14:34:53 Stefano Verzegnassi bug added subscriber Stefano Verzegnassi
2017-01-13 09:18:59 Florian Boucault ubuntu-terminal-app: importance Undecided High