| From: | Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> |
|---|---|
| To: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: ask...!!! |
| Date: | 2008-07-01 09:21:14 |
| Message-ID: | 200807011221.14696.achill@matrix.gatewaynet.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Στις Tuesday 01 July 2008 11:12:39 ο/η ria ulfa έγραψε:
> i use linux fedora 7 and database PostgreSQL 8.
> i want to copy table in postgre to a file.
> i used code : simps=# COPY log TO '/root/documents/log.sql';
> note= simps: name of database
> but there is error: could not open file "/root/documents/log.sql" for
> writing: Permission denied
> what can i do for repair this error??
>
The best thing you can do is get yourself familiar with a UNIX environment.
Apparently the user on behalf of which, you run psql, cannot write to /root/documents/log.
--
Achilleas Mantzios
| From | Date | Subject | |
|---|---|---|---|
| Next Message | adam_pgsql | 2008-07-01 09:31:20 | Re: ask...!!! |
| Previous Message | Tino Schwarze | 2008-07-01 09:20:00 | Re: ask...!!! |