From: Bruce S. <bl...@us...> - 2008-04-09 14:29:23
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv20997/scripts/scripts Modified Files: mysqld Log Message: better chown Index: mysqld =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/mysqld,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- mysqld 2 Nov 2007 19:30:34 -0000 1.12 +++ mysqld 9 Apr 2008 14:29:18 -0000 1.13 @@ -52,7 +52,7 @@ if [ ! -d ${DATADIR:-/var/mysql}/mysql ]; then echo "Initializing new $NAME data dir: " mkdir ${DATADIR:-/var/mysql}/mysql ${DATADIR:-/var/mysql}/test - chown mysql:mysql ${DATADIR:-/var/mysql} ${DATADIR:-/var/mysql}/mysql ${DATADIR:-/var/mysql}/test + chown -R mysql:mysql ${DATADIR:-/var/mysql} mysql_install_db $MYSQL_PARM fi fi |