pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Basil Peace <grv87@yandex.ru>
To: Dave Page <dpage@pgadmin.org>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Subject: Re: BUG #6652: Installer grants postgres user rights for the whole disk, not specified subfolder
Date: Wed, 06 Jun 2012 23:04:39 +0400
Message-ID: <203291339009479@web11h.yandex.ru> (raw)
In-Reply-To: <CA+OCxow_P2o7H0jxKCXPRNE=7zfrgnK+fk_PxnSEXcc6KBaV7w@mail.gmail.com>
References: <E1SVkeF-0007ee-AF@wrigleys.postgresql.org>
	<1337536925-sup-3426@alvh.no-ip.org>
	<CA+OCxow_P2o7H0jxKCXPRNE=7zfrgnK+fk_PxnSEXcc6KBaV7w@mail.gmail.com>

In my case invalid argument (root directory instead of specified data directory) was passed by installer to icacls. That's what I saw. It wasn't problem of icacls, it was a problem in pgsql installer.

05.06.2012, 22:38, "Dave Page" <dpage@pgadmin.org>:
> On Sun, May 20, 2012 at 7:05 PM, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:
>
>>  Excerpts from grv87's message of sáb may 19 10:28:47 -0400 2012:
>>>  The following bug has been logged on the website:
>>>
>>>  Bug reference:      6652
>>>  Logged by:          Basil Peace
>>>  Email address:      grv87@yandex.ru
>>>  PostgreSQL version: 9.1.3
>>>  Operating system:   Windows 7 x64
>>>  Description:
>>>
>>>  I have been installing PostgreSQL 9.1.3.2, and I've noted that 'creating
>>>  database cluster' is too long. I have been waiting for a half of hour, and
>>>  it hasn't finished.
>>>  I've noted that installer calls icacls.exe with arguments:
>>>  D:\ /grant "postgres":RX
>>  This seems to be reported every once in a while.  It looks like the
>>  one-clunk installer is to blame.  Maybe it's been fixed in some more
>>  recent version -- Dave Page would probably know.
>
> Just as an FYI, we are working on this. We've been able to reproduce
> it, and it appears that icacls (a Microsoft utility) will sometimes
> look at the ACL of every file/directory recursively when it grants the
> required privileges on higher level directories. The good news is that
> in none of the test we've done has it ever modified the ACL on the
> wrong thing - it just takes a long time if there are a lot of items on
> the filesystem. We've looked at third party alternatives to icacls,
> and they seem to exhibit similar traits. We're also going to look into
> other ways around the root problem.



view thread (9+ messages)  latest in thread

Message-ID: <203291339009479@web11h.yandex.ru>
Permalink:  ../203291339009479@web11h.yandex.ru/
Also on:    postgresql.org/message-id/203291339009479@web11h.yandex.ru

 · 

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: grv87@yandex.ru, dpage@pgadmin.org, alvherre@commandprompt.com
  Subject: Re: BUG #6652: Installer grants postgres user rights for the whole disk, not specified subfolder
  In-Reply-To: <203291339009479@web11h.yandex.ru>
  References: <E1SVkeF-0007ee-AF@wrigleys.postgresql.org> <1337536925-sup-3426@alvh.no-ip.org> <CA+OCxow_P2o7H0jxKCXPRNE=7zfrgnK+fk_PxnSEXcc6KBaV7w@mail.gmail.com> <203291339009479@web11h.yandex.ru>

* 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