summaryrefslogtreecommitdiff
path: root/scripts/mysqld_safe.sh
diff options
context:
space:
mode:
authorunknown <mtaylor@qualinost.(none)>2006-12-14 12:18:36 -0800
committerunknown <mtaylor@qualinost.(none)>2006-12-14 12:18:36 -0800
commitb6eaf8cb2c4471f3d492f75ad75d50042a3ca32b (patch)
tree50b8847e3ab7c911b23765e00f924022331b6ab3 /scripts/mysqld_safe.sh
parent833b235b1804714fa3ef7bb58157eb3fec003dfe (diff)
downloadmariadb-git-b6eaf8cb2c4471f3d492f75ad75d50042a3ca32b.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