Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 088B76510E2 for ; Tue, 1 Jul 2008 06:53:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 99598-01 for ; Tue, 1 Jul 2008 06:52:17 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by postgresql.org (Postfix) with ESMTP id E2FCB650EC4 for ; Tue, 1 Jul 2008 06:21:19 -0300 (ADT) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id m619LFxA019556 for ; Tue, 1 Jul 2008 12:21:15 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id m619LF61019555 for pgsql-admin@postgresql.org; Tue, 1 Jul 2008 12:21:15 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: pgsql-admin@postgresql.org Subject: Re: ask...!!! Date: Tue, 1 Jul 2008 12:21:14 +0300 User-Agent: KMail/1.9.7 References: <9c3360200807010112g781b4521v88b1fd2c7c400b8c@mail.gmail.com> In-Reply-To: <9c3360200807010112g781b4521v88b1fd2c7c400b8c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200807011221.14696.achill@matrix.gatewaynet.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200807/9 X-Sequence-Number: 29619 =CE=A3=CF=84=CE=B9=CF=82 Tuesday 01 July 2008 11:12:39 =CE=BF/=CE=B7 ria ul= fa =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > i use linux fedora 7 and database PostgreSQL 8. > i want to copy table in postgre to a file. > i used code : simps=3D# COPY log TO '/root/documents/log.sql'; > note=3D 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?? >=20 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. =2D-=20 Achilleas Mantzios