From owner-freebsd-ports@FreeBSD.ORG Wed Apr 5 09:52:32 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6618616A420 for ; Wed, 5 Apr 2006 09:52:32 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52B6C43D45 for ; Wed, 5 Apr 2006 09:52:31 +0000 (GMT) (envelope-from w8hdkim@gmail.com) Received: by zproxy.gmail.com with SMTP id x3so398592nzd for ; Wed, 05 Apr 2006 02:52:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=JaLjE7ygX+2Fvgpl7GYheHM9ijCo5T7hy4fgE9fQY87zfKd/hun+mmyPoMlis6yF4pbsonioQf1lqcFNYNP4izvJeeyaaYOLLt+UzoxbQwFnbfl+Cun1F4VU2Eu8rrXCQ4e9N0J14MYfxrdzKXS7Izj8b8zylh/X4RaeI+sXvvA= Received: by 10.36.141.7 with SMTP id o7mr1580184nzd; Wed, 05 Apr 2006 02:52:30 -0700 (PDT) Received: by 10.36.153.3 with HTTP; Wed, 5 Apr 2006 02:52:30 -0700 (PDT) Message-ID: <89dbfdc30604050252u398829b0p16d30fceceec2c6a@mail.gmail.com> Date: Wed, 5 Apr 2006 05:52:30 -0400 From: "Kim Culhan" To: ports@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: mysql-server-5.0.19 mysql_install_db script problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Apr 2006 09:52:32 -0000 Greetings- After an install then deinstall of mysql51-server it would appear something has changed in the environment. Now trying to install mysql50-server there is this problem: The mysql_install_db script has: # Create database directories mysql & test if test ! -d $ldata; then mkdir $ldata; chmod 700 $ldata ; fi if test ! -d $ldata/mysql; then mkdir $ldata/mysql; chmod 700 $ldata/mys= ql ; fi if test ! -d $ldata/test; then mkdir $ldata/test; chmod 700 $ldata/test = ; fi if test -w / -a ! -z "$user"; then chown $user $ldata $ldata/mysql $ldata/test; fi This should result in the directories being created then chown'd to mysql but they're owned by root. Any idea why this now fails to do the Right Thing ? -kim -- w8hdkim@gmail.com