Quantcast

Data directory permissions.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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  <[hidden email]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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

--
Sent via pgsql-general mailing list ([hidden email])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Data directory permissions.

Dmitriy Igrishin
Thanks Bruce!

Regards,
Dmitriy

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Data directory permissions.

Dmitriy Igrishin
In reply to this post by Bruce Momjian
Thanks, Bruce!

2010/9/20 Bruce Momjian <[hidden email]>
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  <[hidden email]>        http://momjian.us
 EnterpriseDB                             http://enterprisedb.com

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



--
Regards,
Dmitriy



Loading...