users should not have to type and extra "." in order to run a shell script

Bug #1443591 reported by jezra on 2015-04-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Terminal App
High
Unassigned
apparmor-easyprof-ubuntu (Ubuntu)
Undecided
Unassigned

Bug Description

In the Ubuntu Touch Terminal, the user is required to type and extra "." in order to run a shell script.

for example:
the user has written a script titled "do_some_stuff.sh"
in order to run the script, the user must type ". ./do_some_stuff.sh"

The user experience should mirror the functionality of desktop Ubuntu where the user would only need to type "./do_some_stuff.sh"

affects: ubuntu-ux → ubuntu-terminal-app

Adding apparmor because I believe this is a security policy problem.

$ ./ncdu
bash: ./ncdu: Permission denied

affects: apparmor (Ubuntu) → apparmor-easyprof-ubuntu (Ubuntu)
tags: added: application-confinement
Christian Boltz (cboltz) wrote :

Silly question - did you set the x file permissions (chmod +x) for the script? Otherwise...

# ./README
bash: ./README: Permission denied

jezra (jezra) wrote :

as of devel-proposed v235, this bug appears to be fixed and deployed.

Jamie Strandboge (jdstrand) wrote :

Closing the apparmor-easyprof-ubuntu task based on commenter feedback.

Changed in apparmor-easyprof-ubuntu (Ubuntu):
status: New → Invalid

Not fixed in krillin / vivid based images. See screenshot.

@jezra, exactly what image are you running, and can you run a binary as I did?

jezra (jezra) wrote :

@Alan I am currently running
build: 244
channel: ubuntu-touch/devel-proposed/ubuntu
device: flo

I can cd into /bin and run ./date

Changed in ubuntu-terminal-app:
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers