Several scripts fail due to lack of execute permissions
Bug #459606 reported by
David Henningsson
This bug affects 31 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
checkbox (Ubuntu) |
Fix Released
|
Critical
|
Marc Tardif |
Bug Description
Binary package hint: checkbox
A lot of the files in the scripts directory lack execute permissions. As a result several tests fail, e g alsa_record_
For example, when testing audio, pressing the "test" button will just cause a window to open and immediately close again, and button name change to "test again".
Changed in checkbox (Ubuntu): | |
importance: | Undecided → High |
description: | updated |
Changed in checkbox (Ubuntu): | |
assignee: | nobody → Marc Tardif (cr3) |
importance: | High → Critical |
status: | New → Confirmed |
To post a comment you must log in.
I confirm the same problem here with this pre-installed Gnome application System > Administration > System Testing on Ubuntu 9.10RC, e.g. with tests on audio, video modes, kernel modesetting, disk...
For instance:
<code>
Disk benchmark:
/bin/sh: /usr/share/ checkbox/ scripts/ disk_bench_ test: Permission denied
Is this ok?
</code>
I guess all the shell/python scripts for package "checkbox" (Checkbox System Testing) should have at least their execute permission set (or be called via their corresponding interpreter?): checkbox/ scripts/ alsa_record_ playback checkbox/ scripts/ audio_detect_ silence checkbox/ scripts/ compiz- check checkbox/ scripts/ cycle_vts checkbox/ scripts/ disk_bench_ test checkbox/ scripts/ filter_ templates checkbox/ scripts/ gst_pipeline_ test checkbox/ scripts/ internet_ test checkbox/ scripts/ keyboard_ test checkbox/ scripts/ network_ check checkbox/ scripts/ network_ test checkbox/ scripts/ resolution_ test checkbox/ scripts/ run_compiz_ check checkbox/ scripts/ suspend_ test checkbox/ scripts/ xrandr_ cycle
<code>
-rw-r--r-- 1 root root 239 2009-10-14 17:23 /usr/share/
-rw-r--r-- 1 root root 1061 2009-10-14 17:23 /usr/share/
-rw-r--r-- 1 root root 28457 2009-10-14 17:23 /usr/share/
-rw-r--r-- 1 root root 323 2009-10-14 17:23 /usr/share/
-rw-r--r-- 1 root root 431 2009-10-14 17:23 /usr/share/
-rw-r--r-- 1 root root 2943 2009-10-14 17:23 /usr/share/
-rwxr-xr-x 1 root root 761 2009-10-14 17:23 /usr/share/
-rwxr-xr-x 1 root root 3928 2009-10-14 17:23 /usr/share/
-rwxr-xr-x 1 root root 1829 2009-10-14 17:23 /usr/share/
-rw-r--r-- 1 root root 1173 2009-10-14 17:23 /usr/share/
-rwxr-xr-x 1 root root 451 2009-10-14 17:23 /usr/share/
-rwxr-xr-x 1 root root 1291 2009-10-14 17:23 /usr/share/
-rw-r--r-- 1 root root 655 2009-10-14 17:23 /usr/share/
-rwxr-xr-x 1 root root 14497 2009-10-14 17:23 /usr/share/
-rw-r--r-- 1 root root 3190 2009-10-14 17:23 /usr/share/
</code>
All tests looked to be running OK after just setting the execute bit on these files, e.g. via: checkbox/ scripts/ *
<code>
sudo chmod a+x /usr/share/
</code>
So I guess this would be just a simple file execute permission fix in this package "checkbox"?