Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 65E24B5DC60 for ; Fri, 16 Sep 2011 07:02:19 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 64960-06 for ; Fri, 16 Sep 2011 10:02:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mail.postgresql.org (Postfix) with ESMTP id A99D3B5DC5E for ; Fri, 16 Sep 2011 07:02:11 -0300 (ADT) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R4VFL-0000fo-MA for pgsql-general@postgresql.org; Fri, 16 Sep 2011 12:02:11 +0200 Received: from 217.110.94.67 ([217.110.94.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Sep 2011 12:02:11 +0200 Received: from spam_eater by 217.110.94.67 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Sep 2011 12:02:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-general@postgresql.org From: Thomas Kellerer Subject: Re: Problem with the 9.1 one-click installer Windows7 64bit Date: Fri, 16 Sep 2011 12:02:32 +0200 Lines: 30 Message-ID: References: <4E702BA5.30509@ringerc.id.au> <4E72BC3A.2030409@ringerc.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 217.110.94.67 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 In-Reply-To: <4E72BC3A.2030409@ringerc.id.au> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.229 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_NUMERIC_HELO=1.164, RP_MATCHES_RCVD=-0.504, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201109/489 X-Sequence-Number: 179847 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