Re: BUG #18615: installer cannot be executed as "nt-autorität\system" - Mailing list pgsql-bugs

From Muralikrishna Bandaru
Subject Re: BUG #18615: installer cannot be executed as "nt-autorität\system"
Date
Msg-id CA+uec8DOzrYOrq8gzK5kSROTtJYL-GMSFiXPeP+NiHZA0D23Wg@mail.gmail.com
Whole thread Raw
In response to BUG #18615: installer cannot be executed as "nt-autorität\system"  (PG Bug reporting form <noreply@postgresql.org>)
Responses AW: BUG #18615: installer cannot be executed as "nt-autorität\system"
List pgsql-bugs


On Thu, Sep 12, 2024 at 4:19 PM PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      18615
Logged by:          neeral85
Email address:      neral85@gmx.de
PostgreSQL version: 16.4
Operating system:   Windows x64
Description:       

16.2 could be executed as "nt-autorität\system" while 16.4 cannot be
executed as "nt-autorität\system"

This is required by patch management software as it runs any installation as
"nt-autorität\system" and not with current login user.
----------
Log started 09/12/2024 at 12:23:00
Preferred installation mode : unattended
Trying to init installer in mode unattended
Mode unattended successfully initialized
Setting variable whoami from C:\Windows\System32\whoami
Script exit code: 0

Script output:
 nt-autorität\system

Script stderr:


Error copying file from packed archive
C:/Users/User/tmp/postgresql-16.4-1-windows-x64.exe to
C:/Windows/Temp/postgresql_installer_a27c6b7106/prerun_checks.vbs
:Destination not writable
system's temp folder is not writable by the current user.
Exiting with code 1
------

Hi,
Maybe "nt-autorität\system" user doesn't have the write permission for the "C:/Windows/Temp/" folder.
Can you please run the below icacls command and share the output.

icacls c:\Windows\Temp

pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #18623: postgresql v14.13.1 installation error
Next
From: Peter Geoghegan
Date:
Subject: Re: Leader backend hang on IPC/ParallelFinish when LWLock held at parallel query start