Re: ask...!!! - Mailing list pgsql-admin

From Glyn Astill
Subject Re: ask...!!!
Date
Msg-id 154381.76536.qm@web25805.mail.ukl.yahoo.com
Whole thread Raw
In response to ask...!!!  ("ria ulfa" <riakdr@gmail.com>)
List pgsql-admin
You need to output it into a directory you have permission to write to. Either change the permissions on documents, or write it into somewhere you definately do have permissions (e.g. /tmp/log.sql) and then move it to the desired location.

----- Original Message ----
From: ria ulfa <riakdr@gmail.com>
To: pgsql-admin@postgresql.org
Sent: Tuesday, 1 July, 2008 9:19:41 AM
Subject: [ADMIN] ask...!!!


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??



Not happy with your email address?
Get the one you really want - millions of new email addresses available now at Yahoo!

pgsql-admin by date:

Previous
From: Achilleas Mantzios
Date:
Subject: Re: ask...!!!
Next
From: adam_pgsql
Date:
Subject: Re: ask...!!!