[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Permissions problems - where is postgressql?



I've just typo'd on a live server - big mistake!

I executed the command:

chown -R someuser /*

instead of:

chown -R someuser ./*

Anyway, before I could CTRL-C the command, it was running pretty fast I guess...

large portions of /home are owned by the wrong user - and now I get an email here:

Date: Thu, 25 Mar 2004 19:45:10 -0700
Message-Id: <200403260245.i2Q2jAI27825@xxxxxxxxxxxxxxxxxxxxxxxx>
From: admin
To: sys
Subject: the PostgreSQL server is not responding
X-UIDL: '"L!!^*("!EA?!!1ld!!

The PostgreSQL server is down and cannot be restarted.



Question - where is the postgres sql database, and who should I chown it - then how do I restart it?

Also - does anyone have a script (shell, perl or otherwise) to rebuild permissions of anything apart from /home?

tia

Greg