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

Bug #1443591 reported by jezra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Terminal App
New
High
Unassigned
apparmor-easyprof-ubuntu (Ubuntu)
Invalid
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
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

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
Revision history for this message
Christian Boltz (cboltz) wrote :

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

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

Revision history for this message
jezra (jezra) wrote :

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

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

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

Changed in apparmor-easyprof-ubuntu (Ubuntu):
status: New → Invalid
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

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?

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.