Re: BUG #6652: Installer grants postgres user rights for the whole disk, not specified subfolder

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: BUG #6652: Installer grants postgres user rights for the whole disk, not specified subfolder
Дата
Msg-id CA+OCxowB2GEtevP2=sF621Aud1o-9Hx2QHE=D187VS00xS2Kcw@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #6652: Installer grants postgres user rights for the whole disk, not specified subfolder  (grv87@yandex.ru)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #6676: checkpointer does not work by SIGINT.
Следующее
От: Basil Peace
Дата:
Сообщение: Re: BUG #6652: Installer grants postgres user rights for the whole disk, not specified subfolder