Bug #68519 Scripts missing execute bit
Submitted: 28 Feb 2013 9:44 Modified: 12 Apr 2013 4:01
Reporter: Norvald Ryeng Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:5.5.30 OS:Any
Assigned to: CPU Architecture:Any

[28 Feb 2013 9:44] Norvald Ryeng
Description:
A number of scripts under sql-bench/ are supposed to be executable (and were in 5.1), but are missing the execute bit in 5.5, 5.6 and trunk. The reasons seems to be that the sql-bench/CMakeLists.txt uses INSTALL(FILES ...) instead of INSTALL(PROGRAMS ...).

This causes a lot of noise when running rpmlint to check the quality of RPM packages.

How to repeat:
Run cmake.
ls -l `grep -l '#!/' $build_dir/sql-bench/*`

Suggested fix:
Use INSTALL(PROGRAMS ...) instead of INSTALL(FILES ...).
[12 Apr 2013 4:01] Erlend Dahl
[11 Apr 2013 7:06] Paul Dubois

Noted in 5.5.32, 5.6.12, 5.7.2 changelogs.

Several scripts in the sql-bench directory that were supposed to be
executable did not have the executable access bit set.