Skip to content
Snippets Groups Projects

Patch to disable changing permissions of lib/plugin/auth_pam_tool_dir

Closed Ivan Razumov requested to merge mysql-permissions-fix into master
1 file
+ 12
0
Compare changes
  • Side-by-side
  • Inline
+ 12
0
--- scripts/mysql_install_db.sh.orig 2019-12-10 16:26:34.623379493 +0100
+++ scripts/mysql_install_db.sh 2019-12-10 16:27:13.427516986 +0100
@@ -480,8 +480,7 @@
if test -n "$user"
then
- chown $user "$pamtooldir/auth_pam_tool_dir" && \
- chmod 0700 "$pamtooldir/auth_pam_tool_dir"
+ chown $user "$pamtooldir/auth_pam_tool_dir"
if test $? -ne 0
then
echo "Cannot change ownership of the '$pamtooldir/auth_pam_tool_dir' directory"
Loading