Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TNHYE-0006YI-HG for pgsql-bugs@postgresql.org; Sun, 14 Oct 2012 06:19:50 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TNHY7-0007me-VZ for pgsql-bugs@postgresql.org; Sun, 14 Oct 2012 06:19:50 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id q9E6Ja901154 for ; Sat, 13 Oct 2012 23:19:36 -0700 Message-ID: <507A5973.7010101@hogranch.com> Date: Sat, 13 Oct 2012 23:19:31 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #7592: Installation of PostGresql at c:\Progam files folder does not create right permission on data folder References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201210/124 X-Sequence-Number: 34424 On 10/09/12 10:07 PM, devenmthaker@gmail.com wrote: > The following bug has been logged on the website: > > Bug reference: 7592 > Logged by: Deven > Email address: devenmthaker@gmail.com > PostgreSQL version: 9.0.3 > Operating system: Windows 2008 R2 WITH SP1 (64 BITS) > Description: > > We are installing our application which internally call > postgresql-9.0.3-2-windows_x64.exe to install postgresql under c:\program > files folder. But initialization of datbase failed with log that > user(administrator) does not have enough permission on data folder. > Can anyone help me out to address this issue? > Is your application installer invoking admin privs via the UAC elevation thing prior to running the postgres installer? it probably should. Even if you're logged on as 'Administrator', you're normally running in a less privileged mode, and you have to get past that privilege elevation prompt before you can write to Program Files, install services, and other such similar activities. -- john r pierce N 37, W 122 santa cruz ca mid-left coast