Re: Cannot Create a TableSpace on Windows XP Service Pack 2
От | Dave Page |
---|---|
Тема | Re: Cannot Create a TableSpace on Windows XP Service Pack 2 |
Дата | |
Msg-id | E7F85A1B5FF8D44C8A1AF6885BC9A0E4527CC0@ratbert.vale-housing.co.uk обсуждение исходный текст |
Ответ на | Cannot Create a TableSpace on Windows XP Service Pack 2 ("Jose Flores" <jfloresremar@hotmail.com>) |
Список | pgadmin-support |
From: pgadmin-support-owner@postgresql.org [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of Jose Flores
Sent: 04 December 2004 12:10
To: pgadmin-support@postgresql.org
Subject: [pgadmin-support] Cannot Create a TableSpace on Windows XP Service Pack 2Windows XP SP2 came with a lot of security patchs.Something was changed on the way folders are managed, i don't know what.Using pgAdmin III 1.2 RC2, when i want to create a Table Space with:CREATE TABLESPACE "TestTS" LOCATION 'E:\\Proyecto2005\\Databases';i have the following error:ERROR: Could not set permissions on directory "E:/proyecto2005/DatabasesUser i currently has on WinXP belongs to administrators group, so i must not have problems creating folders or files anywhere.Yesterday i've installed PostgreSQL 8 beta 5 without problems and i see two tablespaces pg_default and pg_global
Hi,
This is more of a PostgreSQL issue than pgAdmin, but, although the user you are running as has permission to create the required directory, it is not you that is actually doing it - the server is doing it on your behalf. Because the server runs under a user account without admin privileges (it won't even start with them), perhaps that user doesn't have the required rights?
So, the quick fix is to make sure your postgres user (or whatever you called it) has permission to write to the target directory.
Regards, Dave
В списке pgadmin-support по дате отправления: