Comment 1 for bug 459606

Revision history for this message
gyromaxx (gyromaxx) wrote :

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?):
<code>
-rw-r--r-- 1 root root 239 2009-10-14 17:23 /usr/share/checkbox/scripts/alsa_record_playback
-rw-r--r-- 1 root root 1061 2009-10-14 17:23 /usr/share/checkbox/scripts/audio_detect_silence
-rw-r--r-- 1 root root 28457 2009-10-14 17:23 /usr/share/checkbox/scripts/compiz-check
-rw-r--r-- 1 root root 323 2009-10-14 17:23 /usr/share/checkbox/scripts/cycle_vts
-rw-r--r-- 1 root root 431 2009-10-14 17:23 /usr/share/checkbox/scripts/disk_bench_test
-rw-r--r-- 1 root root 2943 2009-10-14 17:23 /usr/share/checkbox/scripts/filter_templates
-rwxr-xr-x 1 root root 761 2009-10-14 17:23 /usr/share/checkbox/scripts/gst_pipeline_test
-rwxr-xr-x 1 root root 3928 2009-10-14 17:23 /usr/share/checkbox/scripts/internet_test
-rwxr-xr-x 1 root root 1829 2009-10-14 17:23 /usr/share/checkbox/scripts/keyboard_test
-rw-r--r-- 1 root root 1173 2009-10-14 17:23 /usr/share/checkbox/scripts/network_check
-rwxr-xr-x 1 root root 451 2009-10-14 17:23 /usr/share/checkbox/scripts/network_test
-rwxr-xr-x 1 root root 1291 2009-10-14 17:23 /usr/share/checkbox/scripts/resolution_test
-rw-r--r-- 1 root root 655 2009-10-14 17:23 /usr/share/checkbox/scripts/run_compiz_check
-rwxr-xr-x 1 root root 14497 2009-10-14 17:23 /usr/share/checkbox/scripts/suspend_test
-rw-r--r-- 1 root root 3190 2009-10-14 17:23 /usr/share/checkbox/scripts/xrandr_cycle
</code>

All tests looked to be running OK after just setting the execute bit on these files, e.g. via:
<code>
sudo chmod a+x /usr/share/checkbox/scripts/*
</code>

So I guess this would be just a simple file execute permission fix in this package "checkbox"?