https://bugs.winehq.org/show_bug.cgi?id=35967
Bug ID: 35967 Summary: postgresql 9.3.4-3 fails to install (needs to be a non-administrator) Product: Wine Version: 1.7.16 Hardware: x86 URL: http://www.postgresql.org/download/windows/ OS: Linux Status: NEW Keywords: download, Installer Severity: minor Priority: P2 Component: vbscript Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Depends on: 35966
Created attachment 48074 --> https://bugs.winehq.org/attachment.cgi?id=48074 report non-admin privileges
Background: a user asked about how to get wine to report not running as admin in #winehackers, for postgresql
After winetricks wsh57 to work around bug 35966, the installer mostly works. At the end the install, it tells you there was a problem starting the database. Looking at its log, I see: creating template1 database in C:/Program Files/PostgreSQL/9.3/data/base/1 ... Execution of PostgreSQL by a user with administrative permissions is not permitted. The server must be started under an unprivileged user ID to prevent possible system security compromises. See the documentation for more information on how to properly start the server. child process exited with exit code 1 initdb: removing contents of data directory "C:/Program Files/PostgreSQL/9.3/data"
Called Die(Failed to initialise the database cluster with initdb)... Failed to initialise the database cluster with initdb
Vincent offered the user a suggestion on how to avoid it, I'll attach that patch. With that patch, the non-admin error goes away, and I get a cmd problem.