From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: pguyot@kallisys.net
Subject: BUG #17091: Cannot install with EDB installer when username contains diacritics
Date: Wed, 07 Jul 2021 16:32:21 +0000
Message-ID: <17091-529bc1ac84da7311@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 17091
Logged by: Paul Guyot
Email address: pguyot@kallisys.net
PostgreSQL version: 13.3
Operating system: Windows 10
Description:
A user has diacritics in her account name (her first name is Jaunė with last
character being U+0117).
Installation with latest EDB Installer fails with the following message (in
French) :
> Une erreur s'est produite
> Erreur dans l'execution de C:\\Windows\System32\icacls
"C:\\Users\...\Temp/postgresql_installer_random" /T /Q /grand
"azuread\jaune(OI)(CI)F": azuread\jaune: Le mappage entre les noms de compte
et les ID de sécurité n'a pas été effectué.
When exected in a shell, the reported icacls command line fails with the
same error message.
I believe the install script fails here:
https://github.com/EnterpriseDB/edb-installers/blob/2bb85e7ef6203a48989991ab659c961a72aa05b6/server/...
${whoami} is taken from C:\\Windows\System32\whoami
Interestingly, when invoking C:\\Windows\System32\whoami in the shell, we
get the username with diacritics (azuread\jaunė) instead of the username
without diacritics in the error message. To be more precise, there are
diacritics in the paths and these appear properly in the error message.
When executed with this username, the icacls command line returns another
error (which would translate to "Access refused"), but I guess this is
because the command line was not executed with the proper rights.
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, pguyot@kallisys.net
Subject: Re: BUG #17091: Cannot install with EDB installer when username contains diacritics
In-Reply-To: <17091-529bc1ac84da7311@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