Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: bonolin(at)yahoo(dot)com, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions
Date: 2001-07-20 21:10:46
Message-ID: 200107202110.f6KLAka18263@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> bonolin <bonolin(at)yahoo(dot)com> writes:
> > I install postgres 7.1 on solaris 2.6(sparc cpu).And create some
> > db,runing normal.Today,I want to restart the database,it report
> > "FATAL 1: configuration file `postgresql.conf' has wrong
> > permissions",I check and change the permission to 775 ,but fail
> > either,can you help.I need your help. Thanks!
>
> A look at the source code shows it wants 744 or less.
>
> This is probably overly restrictive; in fact, I would argue that there
> should be no such check at all. We do not do runtime checks for
> permissions on any other files, and some of them are far more sensitive
> than postgresql.conf (password files for example). Peter, what is the
> rationale for having this check?

Isn't the file in /data, which is 700. Why do we care what permissions
we give it?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-07-20 21:30:16 Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions
Previous Message Bruce Momjian 2001-07-20 20:51:04 Re: Documentation Bug related to Inheritance