Re: Problem with the 9.1 one-click installer Windows7 64bit

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with the 9.1 one-click installer Windows7 64bit
Date: 2011-09-16 10:02:32
Message-ID: j4v6qm$gi$1@dough.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

Craig Ringer, 16.09.2011 05:02:
> On 15/09/2011 4:18 PM, Thomas Kellerer wrote:
>> I ran another install and monitored what the process was doing and
>> it *is* recursively touching all files on my harddisk when
>>
>> icacls C:\ /grant "tkellerer":RX
>>
>> is called. Even without the /t switch.
>
> That's a worry.
>
> It'd be interesting to generate a Process Monitor trace for this, as
> it'll show exactly what iacls is doing. Just having a handle open to
> some random file is weird, but it'd be good to know if it's messing
> with permissions too.

I have created such a trace file which is quite large, so I removed a lot of repetitions where each and every file that was processed was shown. I hope it still contains enough information for you to find out what is going on.

I have uploaded the file here: http://www.sql-workbench.net/icacls_trace.zip

As this works correctly on XP I'm wondering if there is a substantial difference between cacls.exe (which is used on XP by the installer script) and the new icacls.exe

> I wonder if it's to do with ACL inheritance? Maybe one of the
> inheritance control flags like "NP" is needed. I don't know enough
> about NT permissions to say, but inheritance would be my suspect.

No, idea either. I am by no means a Windows expert.

Regards
Thomas

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2011-09-16 11:06:01 Re: BUG #6209: Invalid subquery is accepted within a IN() clause
Previous Message Marc Mamin 2011-09-16 09:59:11 BUG #6209: Invalid subquery is accepted within a IN() clause

Browse pgsql-general by date

  From Date Subject
Next Message marc_firth 2011-09-16 10:34:38 Re: CUBE, ROLLUP, GROUPING SETS?
Previous Message Alban Hertroys 2011-09-16 09:32:57 Re: How to convert ByteA to Large Objects