From: Tom Lane <tgl@sss.pgh.pa.us>
To: Silvio Brandani <silvio.brandani@tech.sdb.it>
Cc: pgsql-admin@postgresql.org
Subject: Re: postgres data permission
Date: Thu, 15 Jul 2010 11:40:13 -0400
Message-ID: <5875.1279208413@sss.pgh.pa.us> (raw)
In-Reply-To: <4C3F07F0.2060409@tech.sdb.it>
References: <4C3F07F0.2060409@tech.sdb.it>
Silvio Brandani <silvio.brandani@tech.sdb.it> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, silvio.brandani@tech.sdb.it
Subject: Re: postgres data permission
In-Reply-To: <5875.1279208413@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox