Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id D34FE63282E for ; Thu, 15 Jul 2010 12:40:21 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 04528-02 for ; Thu, 15 Jul 2010 15:40:14 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 3DC32632411 for ; Thu, 15 Jul 2010 12:40:14 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o6FFeDFN005876; Thu, 15 Jul 2010 11:40:13 -0400 (EDT) To: Silvio Brandani cc: pgsql-admin@postgresql.org Subject: Re: postgres data permission In-reply-to: <4C3F07F0.2060409@tech.sdb.it> References: <4C3F07F0.2060409@tech.sdb.it> Comments: In-reply-to Silvio Brandani message dated "Thu, 15 Jul 2010 15:06:56 +0200" Date: Thu, 15 Jul 2010 11:40:13 -0400 Message-ID: <5875.1279208413@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/86 X-Sequence-Number: 35105 Silvio Brandani writes: > I need to start a postgres istance on a samba filesystems /data which > have rwxrwxrwx (777) permissions, Ic ould not change such permissions. > If I try to start postgres it complain that should be 700 permission . > How can I skip this control by postgres startup process and be able to > startup istance on this "special folder"?? You can't, and it wouldn't be a good idea even if you could. I think what you're really saying is that you are trying to create a Postgres data directory directly on a filesystem mount point. Don't do that (it's a large-caliber foot-gun even aside from permissions issues). Make a subdirectory in the mount point, and use that as the data directory, and make sure it has the right ownership and permissions. regards, tom lane