« August 2009 | Main | November 2009 »

September 2009 Archives

September 11, 2009

Snow Leopard: That's not my Unix anymore...

I have this peculiar problem, that Postgres installs OK, but later can't really access it's database. The symptoms are peculiar:
$ ls -ld Postgres
drwx------  19 nat  staff  646 11 Sep 00:18 Postgres
$ sudo ls -ld Postgres
Password:
drwx------  19 _unknown  _unknown  646 11 Sep 00:18 Postgres
$ sudo su postgres -c 'ls -ld Postgres'
drwx------  19 postgres  daemon  646 11 Sep 00:18 Postgres
or
$ ls -ldn Postgres
drwx------  19 955  20  646 11 Sep 00:18 Postgres
$ sudo ls -ldn Postgres
drwx------  19 99  99  646 11 Sep 00:18 Postgres
$ sudo su postgres -c 'ls -ldn Postgres'
drwx------  19 956  1  646 11 Sep 00:18 Postgres
I don't see the advantage offhand of ls lying to me about the ownership of the file. Also it would appear that, Postgres shouldn't really mind, but nevertheless it does.

About September 2009

This page contains all entries posted to Nat!'s Web Journal in September 2009. They are listed from oldest to newest.

August 2009 is the previous archive.

November 2009 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 4.25