From: Michael Paquier <michael@paquier.xyz>
To: omerfaruko@gmail.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15810: Using custom directory on external HDD gives permission error
Date: Fri, 17 May 2019 08:43:51 +0900
Message-ID: <20190516234351.GC20887@paquier.xyz> (raw)
In-Reply-To: <15810-c9f666eb398e40b7@postgresql.org>
References: <15810-c9f666eb398e40b7@postgresql.org>
On Thu, May 16, 2019 at 04:15:39PM +0000, PG Bug reporting form wrote:
> Is there some way to circumvent this check without changing format
> of the HDD?
That's weird. If the data folder fed to initdb already exists and is
empty, then permissions on the path are enforced to 0700 or 0750 (if
using --allow-group-access) automatically to prevent this error when
starting Postgres for bootstrapping. If the path does not exist, then
the data folder is created with proper permissions. In any case, you
should not see this error.
Are you using some specific mounting options?
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: michael@paquier.xyz, omerfaruko@gmail.com
Subject: Re: BUG #15810: Using custom directory on external HDD gives permission error
In-Reply-To: <20190516234351.GC20887@paquier.xyz>
References: <15810-c9f666eb398e40b7@postgresql.org> <20190516234351.GC20887@paquier.xyz>
* 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