Bug #44647 Incorrect file permissions on some files in binary packaging
Submitted: 4 May 2009 17:29 Modified: 10 Aug 2009 22:44
Reporter: Björn Wiberg Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:5.0.81 OS:Any (Linux, IBM AIX 5.3 32-bit Community Edition, binary packaging)
Assigned to: Daniel Fischer CPU Architecture:Any
Tags: regression

[4 May 2009 17:29] Björn Wiberg
The following files have incorrect file permissions after unpacking the mysql-5.0.81-aix5.3-powerpc.tar.gz file:

sql-bench/README (has executable flags)
tests/grant.pl (missing executable flags)

(This was not so in mysql-5.0.77-aix5.2-powerpc.tar.gz; note the different aix5.2 architecture though.)

How to repeat:
Unpack mysql-5.0.81-aix5.3-powerpc.tar.gz and view file permissions with 'ls -l'.

Suggested fix:
chmod a-x sql-bench/README
chmod a+x tests/grant.pl

...for future packages/versions.
[4 May 2009 18:13] Sveta Smirnova
Thank you for the report.

Verified as described.
[3 Jul 2009 12:12] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:


2776 Daniel Fischer	2009-07-03
      Bug#44647 - fix file permissions.
[23 Jul 2009 10:24] Bugs System
Pushed into 5.4.4-alpha (revid:alik@sun.com-20090723102221-ps4uaphwbxzj8p0q) (version source revid:joerg@mysql.com-20090721145751-rqqnhv0kage18wfi) (merge vers: 5.4.4-alpha) (pib:11)
[4 Aug 2009 13:32] Bugs System
Pushed into 5.1.38 (revid:joerg@mysql.com-20090730152409-ko4up2l6jceuszgf) (version source revid:df@sun.com-20090703121235-oelja7rtcgqbt8o0) (merge vers: 5.1.37) (pib:11)
[10 Aug 2009 22:44] Paul Dubois
Noted in 5.1.38, 5.4.4 changelogs.

Some files in an AIX tar file distribution unpacked with incorrect
[1 Oct 2009 5:59] Bugs System
Pushed into 5.1.39-ndb-6.3.28 (revid:jonas@mysql.com-20091001055605-ap2kiaarr7p40mmv) (version source revid:jonas@mysql.com-20091001055605-ap2kiaarr7p40mmv) (merge vers: 5.1.39-ndb-6.3.28) (pib:11)
[1 Oct 2009 7:25] Bugs System
Pushed into 5.1.39-ndb-7.0.9 (revid:jonas@mysql.com-20091001072547-kv17uu06hfjhgjay) (version source revid:jonas@mysql.com-20091001071652-irejtnumzbpsbgk2) (merge vers: 5.1.39-ndb-7.0.9) (pib:11)
[1 Oct 2009 13:25] Bugs System
Pushed into 5.1.39-ndb-7.1.0 (revid:jonas@mysql.com-20091001123013-g9ob2tsyctpw6zs0) (version source revid:jonas@mysql.com-20091001123013-g9ob2tsyctpw6zs0) (merge vers: 5.1.39-ndb-7.1.0) (pib:11)
[5 Oct 2009 10:50] Bugs System
Pushed into 5.1.39-ndb-6.2.19 (revid:jonas@mysql.com-20091005103850-dwij2dojwpvf5hi6) (version source revid:jonas@mysql.com-20090930185117-bhud4ek1y0hsj1nv) (merge vers: 5.1.39-ndb-6.2.19) (pib:11)
[7 Oct 2009 20:22] Paul Dubois
The 5.4 fix has been pushed to 5.4.2.