Thread: Data directory permissions.

Data directory permissions.

From
Dmitriy Igrishin
Date:
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.

From
Bruce Momjian
Date:
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.

From
Dmitriy Igrishin
Date:
Thanks Bruce!

Regards,
Dmitriy

Re: Data directory permissions.

From
Dmitriy Igrishin
Date:
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