Re: Problem installing PostgreSQL 9.0 via Macports on OS X Server 10.6

Поиск
Список
Период
Сортировка
От Basil Bourque
Тема Re: Problem installing PostgreSQL 9.0 via Macports on OS X Server 10.6
Дата
Msg-id C31024C7-9390-4827-A42E-9F0FBD063139@me.com
обсуждение исходный текст
Ответ на Re: Problem installing PostgreSQL 9.0 via Macports on OS X Server 10.6  (Brandon Phelps <bphelps@gls.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: strange java query behaviour
Следующее
От: Alexander Farber
Дата:
Сообщение: Saving score of 3 players into a table