Thread: BUG #17164: Running initdb from default Administrator account results in error
BUG #17164: Running initdb from default Administrator account results in error
From
PG Bug reporting form
Date:
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 ```