Re: BUG #1488: CREATE TABLESPACE does not work - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: BUG #1488: CREATE TABLESPACE does not work
Date
Msg-id 200502211855.j1LIt2f09361@candle.pha.pa.us
Whole thread Raw
In response to BUG #1488: CREATE TABLESPACE does not work  ("Jesper Udby" <jesper_pg@judby.dk>)
List pgsql-bugs
Jesper Udby wrote:
>
> The following bug has been logged online:
>
> Bug reference:      1488
> Logged by:          Jesper Udby
> Email address:      jesper_pg@judby.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@candle.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

pgsql-bugs by date:

Previous
From: Richard Huxton
Date:
Subject: Re: BUG #1487: Index problem
Next
From: "Magnus Hagander"
Date:
Subject: Re: BUG #1488: CREATE TABLESPACE does not work