Data directory permissions.

Started by Dmitriy Igrishinover 15 years ago4 messagesgeneral
Jump to latest
#1Dmitriy Igrishin
dmitigr@gmail.com

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

#2Bruce Momjian
bruce@momjian.us
In reply to: Dmitriy Igrishin (#1)
Re: Data directory permissions.

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. +

#3Dmitriy Igrishin
dmitigr@gmail.com
In reply to: Bruce Momjian (#2)
Re: Data directory permissions.

Thanks Bruce!

Regards,
Dmitriy

#4Dmitriy Igrishin
dmitigr@gmail.com
In reply to: Bruce Momjian (#2)
Re: Data directory permissions.

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