From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-admin@postgresql.org
Subject: Re: ask...!!!
Date: Tue, 1 Jul 2008 12:21:14 +0300
Message-ID: <200807011221.14696.achill@matrix.gatewaynet.com> (raw)
In-Reply-To: <9c3360200807010112g781b4521v88b1fd2c7c400b8c@mail.gmail.com>
References: <9c3360200807010112g781b4521v88b1fd2c7c400b8c@mail.gmail.com>
Στις 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: achill@matrix.gatewaynet.com
Subject: Re: ask...!!!
In-Reply-To: <200807011221.14696.achill@matrix.gatewaynet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox