Re: Problem installing PostgreSQL 9.0 via Macports on OS X Server 10.6 - Mailing list pgsql-general

From Basil Bourque
Subject Re: Problem installing PostgreSQL 9.0 via Macports on OS X Server 10.6
Date
Msg-id C31024C7-9390-4827-A42E-9F0FBD063139@me.com
Whole thread Raw
In response to Re: Problem installing PostgreSQL 9.0 via Macports on OS X Server 10.6  (Brandon Phelps <bphelps@gls.com>)
List pgsql-general
> By default the postgres user's group is 'daemon' on my Mac.  This is probably true for you as well.  Change
occurrencesof 'postgres:postgres' in your chown commands to 'postgres:daemon'. 

For what it's worth, here's the user groups and permissions I see on my Mac. I used the installer from EnterpriseDB.com
formy Snow Leopard MacBook. 

Typing the 'id' command-line tool:
id postgres

Renders this:
uid=502(postgres) gid=1(daemon)
groups=1(daemon),403(com.apple.sharepoint.group.2),61(localaccounts),12(everyone),402(com.apple.sharepoint.group.1)

So, "daemon" is the primary group, along with 4 other groups.

/Library/PostgreSQL
+--------------+-----------------+
|    system    |  Read & Write   |
+--------------+-----------------+
|    admin     |    Read only    |
+--------------+-----------------+
|   everyone   |    Read only    |
+--------------+-----------------+

/Library/PostgreSQL/9.0
/Library/PostgreSQL/9.1
/Library/PostgreSQL/9.1/bin
/Library/PostgreSQL/9.1/lib
/Library/PostgreSQL/9.1/pgAdmin3.app
+--------------+-----------------+
|    system    |  Read & Write   |
+--------------+-----------------+
|    daemon    |    Read only    |
+--------------+-----------------+
|   everyone   |    Read only    |
+--------------+-----------------+

/Library/PostgreSQL/9.1/data
+--------------+-----------------+
|   postgres   |  Read & Write   |
+--------------+-----------------+
|   everyone   |    No Access    |
+--------------+-----------------+

--Basil Bourque

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: strange java query behaviour
Next
From: Alexander Farber
Date:
Subject: Saving score of 3 players into a table