Hello again,

Stanislav Maslovski [2008-01-13 22:58 +0300]:
> As I see now the upgrade script must be run with root priveleges.
> Please add a simple check to the script so that it prints out a better
> explanation of what happens. It would be good to mention this in the
> README too.

I just tried this on my box. When I try to create or drop a cluster as
user postgres, I do get an error message:

[EMAIL PROTECTED]:~$ pg_dropcluster 8.3 main --stop
/bin/rm: cannot remove directory `/var/lib/postgresql/8.3/main':
Permission denied

I'll change this to give an even more explicit error message.

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to