Bug #68517 Test and result files with execute bit
Submitted: 28 Feb 2013 9:33 Modified: 25 Jun 2014 16:14
Reporter: Norvald Ryeng Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:5.1.68 OS:Any
Assigned to: CPU Architecture:Any

[28 Feb 2013 9:33] Norvald Ryeng
Description:
Some test and result files have the executable flag set. This includes .test,
.result, .inc, .zip and .opt files in 5.1, 5.5, 5.6 and trunk.

When building RPM packages, rpmlint complains about these since they are not
really executable. It produces a lot of noise in rpmlint, and non-executable
files should really not have execute-permissions set.

How to repeat:
find mysql-test/ -type f -perm /0111; find internal/ -type f -perm /0111

Suggested fix:
chmod a-x
[25 Jun 2014 16:14] Paul DuBois
Noted in 5.5.39, 5.6.20, 5.7.5 changelogs.

File permissions and line endings of several test files were made
more consistent to avoid warnings from package checkers.
[1 Aug 2014 16:30] Laurynas Biveinis
5.5 $ bzr log -r 4664
------------------------------------------------------------
revno: 4664
committer: Terje Rosten <terje.rosten@oracle.com>
branch nick: mysql-5.5-rpmlint
timestamp: Wed 2014-06-25 12:35:50 +0200
message:
  Bug#16395459 TEST AND RESULT FILES WITH EXECUTE BIT
  Bug#16415173 CRLF INSTEAD OF LF IN SQL-BENCH SCRIPTS
        
  Correct perms and converts from Windows style to UNIX style line endings on some files.
  Fix perms on installed ini files.
  
  (MySQL 5.5 version)
[1 Aug 2014 16:40] Laurynas Biveinis
5.5 $ bzr log -r 4671
------------------------------------------------------------
revno: 4671
committer: Terje Rosten <terje.rosten@oracle.com>
branch nick: mysql-5.5.postfix
timestamp: Fri 2014-06-27 12:41:49 +0200
message:
  Bug#16395459 TEST AND RESULT FILES WITH EXECUTE BIT
  
  Post push fix: add execute bit on perl script.