![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Did you ask on the mailinglist mentioned on http://wiki.postgresql.org/wiki/RPM_Installation>? |
#12
| |||
| |||
|
|
psql:/home/gary/PostgreSQL/9.0/data/gjd_data/Z_Build_DB_Linux.sql:48: ERROR: could not set permissions on directory "/home/gary/PostgreSQL/9.0/ data/gjd_data/gjd_sentinel_data": Permission denied ... Therein lies the problem. I forgot to show the statment that is causing the problem: CREATE TABLESPACE sentinel_data OWNER sentinel LOCATION E'/home/gary/PostgreSQL/9.0/data/gjd_data/gjd_sentinel_data'; From my directory listing I can see that the permissions for gjd_sentinel_data are drwxrwxrwx with owner/group of postgres. On that basis I can't see why there is the problem. I am wondering if it has something to do with the psql process running as, or owned by, user postgres? |
#13
| |||
| |||
|
|
Become user postgres |
#14
| |||
| |||
|
|
Become user postgres Thanks, I eventually realised that I had to login/become user postgres to successfully chmod, being root wasn't enough. |
![]() |
| Thread Tools | |
| Display Modes | |
| |