Bug #102159 Permission issue cause “xx.so not found”
Submitted: 6 Jan 8:24 Modified: 7 Jan 14:02
Reporter: haochen he Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:8.0.22 OS:Ubuntu (20.10-Desktop)
Assigned to: CPU Architecture:x86

[6 Jan 8:24] haochen he
Description:
I install the binary version of mysql 8.0.21 following https://dev.mysql.com/doc/refman/8.0/en/binary-installation.html

But I encountered a confusing problem.
Please refer to StackOverFlow#65592309:
https://stackoverflow.com/questions/65592309/permission-issue-cause-xx-so-not-found

How to repeat:
cd /usr/local/mysql
bin/mysqld_safe --user=mysql &

Suggested fix:
Prompt a "permission denied" directly.
[6 Jan 9:35] Terje Røsten
Hi!

Thanks for your report!

What is the name of tarball you has downloaded?
[6 Jan 10:08] haochen he
It is "mysql-8.0.22-linux-glibc2.12-x86_64.tar".
[6 Jan 11:23] tsubasa tanaka
I seem this problem is same as what I faced.

MySQL Bugs: #101969: mysql-8.0.22-linux-glibc2.12-x86_64.tar.xz changes directory permission https://bugs.mysql.com/bug.php?id=101969
[7 Jan 14:02] MySQL Verification Team
Marking as duplicate according prior comment. Thanks.