why I can not create tablespace in postgresql -


i have installed centos 6.3 on vmware, , postgresql self-contained, version postgresql 8.4.13 on i386-redhat-linux-gnu.

i want create tablespace command this: create tablespace foo location '/usr/foo1';

but getting error this: error: not set permissions on directory "/tmp/foo1": permission denied

then checked /tmp/foo1's owner , owner indeed postgres, confused this.

can me?

things check:

  1. usually /tmp should have open permissions. if closed off...

  2. what filesystem /tmp on? support file permissions?

  3. what appropriate filesystem mounting options or such /tmp? these interfere?


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -