dbTalk Databases Forums  

[BUGS] BUG #1488: CREATE TABLESPACE does not work

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1488: CREATE TABLESPACE does not work in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jesper Udby
 
Posts: n/a

Default [BUGS] BUG #1488: CREATE TABLESPACE does not work - 02-20-2005 , 11:56 PM







The following bug has been logged online:

Bug reference: 1488
Logged by: Jesper Udby
Email address: jesper_pg (AT) judby (DOT) dk
PostgreSQL version: 8.0.1
Operating system: Win32 XP Pro SP2
Description: CREATE TABLESPACE does not work
Details:

Hello.

Trying to create a tablespace fails with msg "ERROR: could not set
permissions on directory "...": Permission denied".

E.g.

CREATE TABLESPACE pgtest LOCATION 'c:\\pgtest';

(Directory c:\\pgtest exists and is readable etc.)

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org

Reply With Quote
  #2  
Old   
Bruce Momjian
 
Posts: n/a

Default Re: [BUGS] BUG #1488: CREATE TABLESPACE does not work - 02-21-2005 , 12:56 PM






Jesper Udby wrote:
Quote:
The following bug has been logged online:

Bug reference: 1488
Logged by: Jesper Udby
Email address: jesper_pg (AT) judby (DOT) dk
PostgreSQL version: 8.0.1
Operating system: Win32 XP Pro SP2
Description: CREATE TABLESPACE does not work
Details:

Hello.

Trying to create a tablespace fails with msg "ERROR: could not set
permissions on directory "...": Permission denied".

E.g.

CREATE TABLESPACE pgtest LOCATION 'c:\\pgtest';

(Directory c:\\pgtest exists and is readable etc.)
My bet is that the owner of the directory is not the same as the owner
of the pg server.

--
Bruce Momjian | http://candle.pha.pa.us
pgman (AT) candle (DOT) pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)


Reply With Quote
  #3  
Old   
Magnus Hagander
 
Posts: n/a

Default Re: [BUGS] BUG #1488: CREATE TABLESPACE does not work - 02-21-2005 , 01:48 PM



Quote:
The following bug has been logged online:

Bug reference: 1488
Logged by: Jesper Udby
Email address: jesper_pg (AT) judby (DOT) dk
PostgreSQL version: 8.0.1
Operating system: Win32 XP Pro SP2
Description: CREATE TABLESPACE does not work
Details:=20

Hello.

Trying to create a tablespace fails with msg "ERROR: could not set
permissions on directory "...": Permission denied".

E.g.=20

CREATE TABLESPACE pgtest LOCATION 'c:\\pgtest';

(Directory c:\\pgtest exists and is readable etc.)
What are the permissions on c:\pgtest and what are they on c:\? For the
postgres service account, of course.

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.