Re: Data directory permissions.

Lists: pgsql-general
From: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Data directory permissions.
Date: 2010-09-20 10:58:05
Message-ID: AANLkTimKqmFg9ZLJEeMEBrwp-r7qdS9Li2QySkMtaX=p@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

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


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Data directory permissions.
Date: 2010-09-20 16:36:34
Message-ID: 201009201636.o8KGaYf29199@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

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


From: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Data directory permissions.
Date: 2010-09-20 17:04:08
Message-ID: AANLkTinJLh1wmSJCZz0xrEeB9=H-74MnSOV5MdMF0g3f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Thanks Bruce!

Regards,
Dmitriy


From: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Data directory permissions.
Date: 2010-09-20 21:41:03
Message-ID: AANLkTikhVrds1nkKah_DBx-pwgeVsM=PHOLCRcGWv_83@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Thanks, Bruce!

2010/9/20 Bruce Momjian <bruce(at)momjian(dot)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(at)momjian(dot)us> http://momjian.us
> EnterpriseDB http://enterprisedb.com
>
> + It's impossible for everything to be true. +
>

--
Regards,
Dmitriy