Bug #101969 mysql-8.0.22-linux-glibc2.12-x86_64.tar.xz changes directory permission
Submitted: 11 Dec 2020 1:46 Modified: 13 Dec 2020 21:28
Reporter: tsubasa tanaka (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:8.0.22 OS:Any
Assigned to: CPU Architecture:Any

[11 Dec 2020 1:46] tsubasa tanaka
Description:
Some directories in mysql-8.0.22-linux-glibc2.12-x86_64.tar.xz (Linux - Generic(glibc-2.12)(x86, 64-bit)) has permission 700(rwx------).

Same directories in mysql-8.0.21-linux-glibc2.12-x86_64.tar.xz (Linux - Generic(glibc-2.12)(x86, 64-bit)) has permission 755(rwxr-xr-x).

Is it "incompatible change" of packaging policy? (Then, this should be listed 
 as "Incompatible Changes" in release note).
Or just mistake of packaging?

How to repeat:
### Directory permission in 8.0.21 .tar.xz are 775

$ wget https://downloads.mysql.com/archives/get/p/23/file/mysql-8.0.21-linux-glibc2.12-x86_64.tar...
$ tar tvf mysql-8.0.21-linux-glibc2.12-x86_64.tar.xz | grep "^d"
drwxr-xr-x pb2user/common    0 2020-06-17 06:57 mysql-8.0.21-linux-glibc2.12-x86_64/
drwxr-xr-x pb2user/common      0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/man/
drwxr-xr-x pb2user/common      0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/man/man8/
drwxr-xr-x pb2user/common      0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/man/man1/
drwxr-xr-x pb2user/common      0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/support-files/
drwxr-xr-x pb2user/common      0 2020-06-17 06:57 mysql-8.0.21-linux-glibc2.12-x86_64/bin/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/norwegian/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/german/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/norwegian-ny/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/english/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/aclocal/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/swedish/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/greek/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/dutch/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/japanese/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/spanish/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/italian/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/charsets/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/hungarian/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/czech/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/polish/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/estonian/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/russian/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/romanian/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/ukrainian/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/slovak/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/bulgarian/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/portuguese/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/serbian/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/danish/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/korean/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/share/french/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/include/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/include/mysql/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/lib/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/lib/private/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/lib/pkgconfig/
drwxr-xr-x pb2user/common          0 2020-06-17 06:57 mysql-8.0.21-linux-glibc2.12-x86_64/lib/plugin/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/lib/mecab/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/lib/mecab/dic/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/lib/mecab/dic/ipadic_utf-8/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/lib/mecab/dic/ipadic_sjis/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/lib/mecab/dic/ipadic_euc-jp/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/lib/mecab/etc/
drwxr-xr-x pb2user/common          0 2020-06-17 06:53 mysql-8.0.21-linux-glibc2.12-x86_64/docs/

### Directory permission in 8.0.22 .tar.xz are 700

$ wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.22-linux-glibc2.12-x86_64.tar.xz

$ tar tvf mysql-8.0.22-linux-glibc2.12-x86_64.tar.xz | grep "^d"
drwx------ pb2user/common    0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/bin/
drwx------ pb2user/common        0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/lib/
drwx------ pb2user/common        0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/lib/plugin/
drwx------ pb2user/common        0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/bin/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/bin/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/include/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/include/mysql/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/lib/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/lib/pkgconfig/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/aclocal/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/docs/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/docs/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/man/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/man/man1/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/man/man8/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/bin/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/lib/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/lib/mecab/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/lib/mecab/dic/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/lib/mecab/dic/ipadic_euc-jp/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/lib/mecab/dic/ipadic_sjis/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/lib/mecab/dic/ipadic_utf-8/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/lib/mecab/etc/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/lib/plugin/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/lib/plugin/debug/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/bulgarian/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/charsets/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/czech/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/danish/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/dutch/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/english/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/estonian/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/french/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/german/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/greek/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/hungarian/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/italian/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/japanese/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/korean/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/norwegian/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/norwegian-ny/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/polish/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/portuguese/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/romanian/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/russian/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/serbian/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/slovak/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/spanish/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/swedish/
drwxr-xr-x pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/ukrainian/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/support-files/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/lib/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/lib/private/
drwx------ pb2user/common         0 2020-09-23 23:11 mysql-8.0.22-linux-glibc2.12-x86_64/share/
[11 Dec 2020 4:47] MySQL Verification Team
Hello tanaka-San,

Thank you for the report and feedback.

regards,
Umesh
[13 Dec 2020 21:28] Terje Røsten
Hi!

This issue was already noted and is fixed for upcoming release.
[7 Jan 14:03] MySQL Verification Team
https://bugs.mysql.com/bug.php?id=102159 marked as duplicate of this one.