pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-general@postgresql.org
Subject: Re: Problem with the 9.1 one-click installer Windows7 64bit
Date: Thu, 15 Sep 2011 10:18:32 +0200
Message-ID: <j4scbj$l20$1@dough.gmane.org> (raw)
In-Reply-To: <4E702BA5.30509@ringerc.id.au>
References: <j4l7fc$oan$1@dough.gmane.org>
	<CAHyXU0yYrwPb-Z+rm6DfFMtTqJ=gikv5yRx97vumquGvdgB-cQ@mail.gmail.com>
	<j4mu41$r5j$1@dough.gmane.org>
	<4E702BA5.30509@ringerc.id.au>

Craig Ringer, 14.09.2011 06:20:
> As Dave noted, it's a non-recursive grant. It isn't changing the
> permissions for C:\ and everything under it. It's only changing the
> permissions for C:\ its self. It's then stepping down the path of
> parents down to the datadir and doing the same thing to make sure you
> have the required rights on every folder all the way down.
>
> See: http://technet.microsoft.com/en-us/library/cc753525(WS.10).aspx
>
> and note the lack of the /t flag when icacls is called.

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.

I verified this using ProcessExplorer displaying the open file handles for the running icacls.exe

So there is either some (hidden?) system setting that makes icacls to recurse by default or something has changed in Windows7.

I can see the exact same behaviour (touching all files recursively) when I run the above command manually from a command prompt

Regards
Thomas




view thread (12+ messages)  latest in thread

Message-ID: <j4scbj$l20$1@dough.gmane.org>
Permalink:  ../j4scbj$l20$1@dough.gmane.org/
Also on:    postgresql.org/message-id/j4scbj$l20$1@dough.gmane.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: spam_eater@gmx.net, pgsql-general@postgresql.org
  Subject: Re: Problem with the 9.1 one-click installer Windows7 64bit
  In-Reply-To: <j4scbj$l20$1@dough.gmane.org>
  References: <j4l7fc$oan$1@dough.gmane.org> <CAHyXU0yYrwPb-Z+rm6DfFMtTqJ=gikv5yRx97vumquGvdgB-cQ@mail.gmail.com> <j4mu41$r5j$1@dough.gmane.org> <4E702BA5.30509@ringerc.id.au> <j4scbj$l20$1@dough.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox