Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 47183B5DC31 for ; Thu, 4 Aug 2011 01:42:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 28085-08 for ; Thu, 4 Aug 2011 04:42:15 +0000 (UTC) X-Greylist: delayed 00:15:42.354607 by SQLgrey-1.7.6 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id A20CDB5DC08 for ; Thu, 4 Aug 2011 01:42:15 -0300 (ADT) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QopVv-0006vU-M7 for pgsql-bugs@postgresql.org; Wed, 03 Aug 2011 21:26:31 -0700 Date: Wed, 3 Aug 2011 21:26:31 -0700 (PDT) From: simonrodan To: pgsql-bugs@postgresql.org Message-ID: <1312431991679-4665117.post@n5.nabble.com> In-Reply-To: References: <201107170101.p6H11AcP030256@wwwmaster.postgresql.org> Subject: Re: BUG #6120: Problem running post-install step in Mac OS X Lion (GM) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.778 tagged_above=-5 required=5 tests=BAYES_00=-1.9, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201108/42 X-Sequence-Number: 30854 I have worked around this by adding the postgres user by hand: sudo dscl . -create /users/postgres sudo mkdir -p /usr/local/pgsql/data sudo chown postgres /usr/local/pgsql/data sudo dscl . -passwd /users/postgres su postgres chmod 755 /Library/PostgreSQL/9.0/bin/initdb su postgres /Library/PostgreSQL/9.0/bin/initdb -D /usr/local/pgsql/data (There is a predefined user in OS X Lion: "_postgres" but that's not the one the installer is expecting... ) -- View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-6120-Problem-running-post-install-step-in-Mac-OS-X-Lion-GM-tp4598104p4665117.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.