We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a07c10f commit ec494cbCopy full SHA for ec494cb
scripts/mysql_install_db.sh
@@ -467,7 +467,8 @@ done
467
468
if test -n "$user"
469
then
470
- chown $user "$pamtooldir/auth_pam_tool_dir"
+ chown $user "$pamtooldir/auth_pam_tool_dir" && \
471
+ chmod 0700 "$pamtooldir/auth_pam_tool_dir"
472
if test $? -ne 0
473
474
echo "Cannot change ownership of the '$pamtooldir/auth_pam_tool_dir' directory"
@@ -476,7 +477,8 @@ then
476
477
fi
478
if test -z "$srcdir"
479
- chown 0 "$pamtooldir/auth_pam_tool_dir/auth_pam_tool"
480
+ chown 0 "$pamtooldir/auth_pam_tool_dir/auth_pam_tool" && \
481
+ chmod 04755 "$pamtooldir/auth_pam_tool_dir/auth_pam_tool"
482
483
484
echo "Couldn't set an owner to '$pamtooldir/auth_pam_tool_dir/auth_pam_tool'."
0 commit comments