From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: thorsten@thorstenkampe.de
Subject: BUG #17164: Running initdb from default Administrator account results in error
Date: Fri, 27 Aug 2021 16:07:11 +0000
Message-ID: <17164-be59fd288befd6ae@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 17164
Logged by: Thorsten Kampe
Email address: thorsten@thorstenkampe.de
PostgreSQL version: 13.4
Operating system: Windows Server 2019
Description:
Running initdb from the default Administrator account or from an elevated
shell or with User Account Control (UAC) completely disabled results in an
error:
```
> initdb --username=postgres --encoding=UTF8 --locale=en --lc-collate=C
The files belonging to this database system will be owned by user
"Administrator".
This user must also own the server process.
The database cluster will be initialized with locales
COLLATE: C
CTYPE: en
MESSAGES: en
MONETARY: en
NUMERIC: en
TIME: en
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory
C:/scoop/apps/postgresql/current/data ... initdb: error: could not change
permissions of directory "C:/scoop/apps/postgresql/current/data": Permission
denied
```
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-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, thorsten@thorstenkampe.de
Subject: Re: BUG #17164: Running initdb from default Administrator account results in error
In-Reply-To: <17164-be59fd288befd6ae@postgresql.org>
* 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