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