Обсуждение: Data directory permissions.

Поиск
Список
Период
Сортировка

Data directory permissions.

От
Dmitriy Igrishin
Дата:
Hey all,

There are an output of postgres process in a start time:

FATAL:  data directory "/path/to/cluster" has group or world access
DETAIL:  Permissions should be u=rwx (0700).

Is there way to allow postgres starts with 0770 ?

Regards,
Dmitriy

Re: Data directory permissions.

От
Bruce Momjian
Дата:
Dmitriy Igrishin wrote:
> Hey all,
>
> There are an output of postgres process in a start time:
>
> FATAL:  data directory "/path/to/cluster" has group or world access
> DETAIL:  Permissions should be u=rwx (0700).
>
> Is there way to allow postgres starts with 0770 ?

You have to modify the source code and recompile to do that.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

Re: Data directory permissions.

От
Dmitriy Igrishin
Дата:
Thanks Bruce!

Regards,
Dmitriy

Re: Data directory permissions.

От
Dmitriy Igrishin
Дата:
Thanks, Bruce!

2010/9/20 Bruce Momjian <bruce@momjian.us>
Dmitriy Igrishin wrote:
> Hey all,
>
> There are an output of postgres process in a start time:
>
> FATAL:  data directory "/path/to/cluster" has group or world access
> DETAIL:  Permissions should be u=rwx (0700).
>
> Is there way to allow postgres starts with 0770 ?

You have to modify the source code and recompile to do that.

--
 Bruce Momjian  <bruce@momjian.us>        http://momjian.us
 EnterpriseDB                             http://enterprisedb.com

 + It's impossible for everything to be true. +



--
Regards,
Dmitriy