Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B37449FA233 for ; Thu, 23 Aug 2007 15:41:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 93816-02 for ; Thu, 23 Aug 2007 15:41:53 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id F143C9FA1DA for ; Thu, 23 Aug 2007 15:41:52 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l7NIfqb3010726; Thu, 23 Aug 2007 14:41:52 -0400 (EDT) To: "Campbell, Lance" cc: pgsql-admin@postgresql.org Subject: Re: Installing Postgres In-reply-to: References: Comments: In-reply-to "Campbell, Lance" message dated "Thu, 23 Aug 2007 12:48:17 -0500" Date: Thu, 23 Aug 2007 14:41:52 -0400 Message-ID: <10725.1187894512@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/299 X-Sequence-Number: 26630 "Campbell, Lance" writes: > The solution, based on emails I have received, is to install PostgreSQL > into a subdirectory called "data". I then move the contents of "data" > back a directory. This way I am able to have the files in the directory > I want them in. Even though the directory I wanted them in contains a > subdirectory. This is how you get around the issue. NO, NO, NO, NO, NO. You appear to be impervious to several people telling you this is a bad idea, but I will try one more time to explain why. The reason you see "lost+found" in that directory is that it is a volume mount point. Volume mount point directories should *always* be owned by root, for both reliability and security reasons. The setup you are proposing would have to have the mount point directory be postgres-owned. You will live to regret that if you insist on doing it that way (in fact, I'm astonished your sysadmin agreed to it in the first place ... he must be pretty new at his job). Stick with the extra level of directory. > It appears that > the PostgreSQL data directory contents can be moved. Yeah, they can. The argument here is about exactly where you are proposing to move them to. If it were an ordinary directory it'd be fine. regards, tom lane