Re: BUG #6652: Installer grants postgres user rights for the whole disk, not specified subfolder - Mailing list pgsql-bugs

From Dave Page
Subject Re: BUG #6652: Installer grants postgres user rights for the whole disk, not specified subfolder
Date
Msg-id CA+OCxowB2GEtevP2=sF621Aud1o-9Hx2QHE=D187VS00xS2Kcw@mail.gmail.com
Whole thread Raw
In response to BUG #6652: Installer grants postgres user rights for the whole disk, not specified subfolder  (grv87@yandex.ru)
List pgsql-bugs
On Wed, Jun 6, 2012 at 8:04 PM, Basil Peace <grv87@yandex.ru> wrote:
> In my case invalid argument (root directory instead of specified data directory) was passed by installer to icacls.
That'swhat I saw. It wasn't problem of icacls, it was a problem in pgsql installer. 

That's supposed to happen. It sets the permissions on the data
directory and then recurses back up to the root directory, ensuring
the postgres account is able to read all the parent directories -
otherwise, even if it has write permissions on the data directory
itself, it cannot access it.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #6676: checkpointer does not work by SIGINT.
Next
From: Basil Peace
Date:
Subject: Re: BUG #6652: Installer grants postgres user rights for the whole disk, not specified subfolder