data dir permissions and ownership

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • CSN

    #1

    data dir permissions and ownership

    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.
    Shop the best deals at Yahoo! Shopping! Discover discounts on a wide range of products, from electronics to fashion, and enjoy exclusive offers. Save big with top deals today!


    ---------------------------(end of broadcast)---------------------------
    TIP 4: Don't 'kill -9' the postmaster

  • Steven Klassen

    #2
    Re: data dir permissions and ownership

    * CSN <cool_screen_na me90001@yahoo.c om> [2004-10-12 11:40:52 -0700]:
    [color=blue]
    > chown -R postgres.nobody data
    > chmod -R 0700 data[/color]

    Try postgres.postgr es, otherwise that looks okay AFAICT.

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

    ---------------------------(end of broadcast)---------------------------
    TIP 7: don't forget to increase your free space map settings

    Comment

    Working...