summaryrefslogtreecommitdiff
path: root/scripts/mysqld_safe.sh
diff options
context:
space:
mode:
authormtaylor@qualinost.(none) <>2006-12-14 12:18:36 -0800
committermtaylor@qualinost.(none) <>2006-12-14 12:18:36 -0800
commit54e7d71477b673db69538219ab5419d1fda33283 (patch)
tree50b8847e3ab7c911b23765e00f924022331b6ab3 /scripts/mysqld_safe.sh
parent165ae199ab9e5053d8f37fdc499ff30594bebc5f (diff)
downloadmariadb-git-54e7d71477b673db69538219ab5419d1fda33283.tar.gz
Change permissions on $mysql_unix_port_dir if we create it so that everyone can access it.
Diffstat (limited to 'scripts/mysqld_safe.sh')
-rw-r--r--scripts/mysqld_safe.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh
index c655910dc2c..c867d15a389 100644
--- a/scripts/mysqld_safe.sh
+++ b/scripts/mysqld_safe.sh
@@ -195,6 +195,7 @@ if [ ! -d $mysql_unix_port_dir ]
then
mkdir $mysql_unix_port_dir
chown $user $mysql_unix_port_dir
+ chmod 755 $mysql_unix_port_dir
fi
# Use the mysqld-max binary by default if the user doesn't specify a binary