removable partitions are mounted noexec by default
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | gnome-mount (Ubuntu) |
Medium
|
Martin Pitt | ||
Bug Description
Binary package hint: bash
With the latest upgrade from Feisty any sh scripts (i.e. scripts that start with the #!/bin/sh or equivalent statement) returns a permission error. Configure scripts most notably return these kind of errors :
$ ./configure
bash: ./configure : /bin/sh : mauvais interpréteur: Permission non accordée
(can be translated to : "bash: ./configure : /bin/sh : bad interpreter: Permission not accorded"
Replacing the /bin/sh symlink with eitheir /bin/dash or /bin/bash throws the same error, same if you replace the #!/bin/sh statement in scripts with something like #!/bin/bash
PS: all the scripts have execution permission
Related branches
| Chris Rose (chris-vault5) wrote : | #1 |
| Changed in bash: | |
| assignee: | nobody → chris-vault5 |
| status: | Unconfirmed → Needs Info |
| Changed in bash: | |
| assignee: | chris-vault5 → nobody |
| Jérémie LAVAL (je-laval) wrote : | #2 |
Sorry. In fact it's not a bash problem but more a regression (I suppose) of gnome-volume-
I suppose that this behaviour came at the same time as my update of bash but I'm sure that precedent version of gnome-volume-
Again sorry for the wrong report :}
| Martin Pitt (pitti) wrote : | #3 |
Feisty now allows you to specify the mount options in the Properties dialog of a volume. However, in the interest of backwards compatibility we should flip the default to be 'exec'.
| Changed in gnome-volume-manager: | |
| assignee: | nobody → pitti |
| importance: | Undecided → Medium |
| status: | Needs Info → In Progress |
| Changed in gnome-mount: | |
| status: | In Progress → Fix Committed |
| Changed in gnome-mount: | |
| status: | Fix Committed → Fix Released |
| Martin Pitt (pitti) wrote : | #4 |
gnome-mount (0.5-2ubuntu5) feisty; urgency=low
.
* debian/control: Set Ubuntu maintainer (to me).
* debian/
mount option for VFAT to stay compatible with earlier Ubuntu releases.
(LP: #76200)
* debian/
default to stay compatible with earlier Ubuntu releases.
(LP: #87627)
* debian/
default for HFS. (LP: #84044)
* Add debian/
'/', ignore it, so that it does not end up as /media/_. (LP: #83323)


Does /bin/sh and /bin/dash have execute permissions?
I have the latest bash release and I can't replicate this.