pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: fimbulvetr@lycos.com
To: pgsql-sql@postgresql.org
Subject: Re: `postgresql.conf' has wrong permissions???
Date: 15 Aug 2001 09:25:18 -0700
Message-ID: <2a872b49.0108150825.5dbf81eb@posting.google.com> (raw)
References: <25631.996872872@sss.pgh.pa.us>

tgl@sss.pgh.pa.us (Tom Lane) wrote in message news:<25631.996872872@sss.pgh.pa.us>...
> <rocael@usa.net> writes:
> > FATAL 1:  configuration file `postgresql.conf' has wrong permissions
>  
> > One thing to note is that before I rebooted linux I did this:
> > chmod 755 -R /usr/local/pgsql
> 
> That was a bad idea.  700 is the most permission you should have on the 
> /usr/local/pgsql/data directory.  I am not sure why the code is so picky
> about postgresql.conf and not about the data directory as a whole ---
> but it will refuse to start up if postgresql.conf has more than 744
> permissions.
> 
> 			regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html

I experienced this problem as well, I changed permissions on
/usr/local in order to get our samba share to work, and the next day
the database would not start.
744 will allow the postmaster to start again.
Dan



view thread (3+ messages)

Message-ID: <2a872b49.0108150825.5dbf81eb@posting.google.com>
Permalink:  ../2a872b49.0108150825.5dbf81eb@posting.google.com/
Also on:    postgresql.org/message-id/2a872b49.0108150825.5dbf81eb@posting.google.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: fimbulvetr@lycos.com
  Subject: Re: `postgresql.conf' has wrong permissions???
  In-Reply-To: <2a872b49.0108150825.5dbf81eb@posting.google.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox