Thread: data dir permissions and ownership

data dir permissions and ownership

From
CSN
Date:
My permissions on pg's data dir got changed. Largely
just curious (since pg appears to be working fine
after changing as below), is this what they should be?

chown -R postgres.nobody data
chmod -R 0700 data






__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail

Re: data dir permissions and ownership

From
Steven Klassen
Date:
* CSN <cool_screen_name90001@yahoo.com> [2004-10-12 11:40:52 -0700]:

> chown -R postgres.nobody data
> chmod -R 0700 data

Try postgres.postgres, otherwise that looks okay AFAICT.

--
Steven Klassen - Lead Programmer
Command Prompt, Inc. - http://www.commandprompt.com/
PostgreSQL Replication & Support Services, (503) 667-4564