Bug #71113 Executable bit set for example config files
Submitted: 9 Dec 2013 5:07 Modified: 25 Jun 2014 16:16
Reporter: Stewart Smith Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:5.5 (all), 5.6 (all) OS:Any
Assigned to: CPU Architecture:Any
Tags: Debian, packaging

[9 Dec 2013 5:07] Stewart Smith
Description:
The lintian tool (lint for debian packages) has picked up the following issue:

 W executable-not-elf-or-script

    usr/share/mysql/config.huge.ini
    usr/share/mysql/config.huge.ini
    usr/share/mysql/config.medium.ini
    usr/share/mysql/config.medium.ini
    usr/share/mysql/config.small.ini
    usr/share/mysql/config.small.ini
    usr/share/mysql/ndb-config-2-node.ini
    usr/share/mysql/ndb-config-2-node.ini

This means these files are being generated with the execute bit set, which it shouldn't be as they are sample config files

How to repeat:
Run lintian on debian packages, or build the server and examine the filesystem

Suggested fix:
Produce these files without setting the execute bit.
[9 Dec 2013 8:25] MySQL Verification Team
Hello Stewart,

Thank you for the bug report.
Verified as described.

Thanks ,
Umesh
[9 Dec 2013 8:25] MySQL Verification Team
How to repeat:

umshastr@pan10:~/setup$ lintian mysql-cluster-advanced-7.2.14-debian6.0-x86_64.deb > tt.log
umshastr@pan10:~/setup$ cat tt.log|grep -i W: |grep -i config
W: mysql: executable-not-elf-or-script opt/mysql/server-5.5/support-files/config.small.ini
W: mysql: executable-not-elf-or-script opt/mysql/server-5.5/support-files/config.medium.ini
W: mysql: executable-not-elf-or-script opt/mysql/server-5.5/support-files/ndb-config-2-node.ini
W: mysql: executable-not-elf-or-script opt/mysql/server-5.5/support-files/config.huge.ini
[25 Jun 2014 16:16] Paul DuBois
Noted in 5.5.39, 5.6.20, 5.7.5 changelogs.

File permissions and line endings of several test and configuration files were made
more consistent to avoid warnings from package checkers.