Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id A126064FD68 for ; Tue, 1 Jul 2008 05:59:37 -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 43346-04-3 for ; Tue, 1 Jul 2008 05:59:13 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by postgresql.org (Postfix) with ESMTP id 9CD5B650EC7 for ; Tue, 1 Jul 2008 05:19:01 -0300 (ADT) Received: by fk-out-0910.google.com with SMTP id e30so2092739fke.3 for ; Tue, 01 Jul 2008 01:18:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=zmNTqVynMqacVt62Ei5Dkq7JNBttT+dPX6BPTN1CnY0=; b=tVTWDbfQGe3zFuBt3/2y/jCHJXSnr9TQnu2aUad3h9aIKqsE3exr5w+sN9qe4bGy5x RyDTKrM2iTuIjBm0KCmBjOY4q4qoWWucjU1APYLkuPQXwvjOPbL+s0Rv4eYXP2m/9UaF SqgSGlNTD5NLleDvnVIhbKuOOBAJNKa/HFEPs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=kNS43cc/lgaWLBXlBtH2ojmiAEquUVVcR2r7jfqHL3yGuKT4XbJMqCZiGY7kijBNv/ ApYP5ouZ+gdvyblCa/UYGYiuh7fJ15x2irb//v/gHRbNac3L1em8hs2XAkU0KYeWeekB /PRbT2G3MoVhLMKuAprmZ9SXDrws9vUebiqfk= Received: by 10.125.157.15 with SMTP id j15mr1314927mko.150.1214900339617; Tue, 01 Jul 2008 01:18:59 -0700 (PDT) Received: by 10.125.96.10 with HTTP; Tue, 1 Jul 2008 01:18:59 -0700 (PDT) Message-ID: <9c3360200807010118v31c1b7f2l349839cd9b04aaaa@mail.gmail.com> Date: Tue, 1 Jul 2008 15:18:59 +0700 From: "ria ulfa" To: pgsql-admin@postgresql.org Subject: ask...!!! In-Reply-To: <9c3360200807010112g781b4521v88b1fd2c7c400b8c@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17243_4805625.1214900339634" References: <9c3360200807010112g781b4521v88b1fd2c7c400b8c@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200807/5 X-Sequence-Number: 29615 ------=_Part_17243_4805625.1214900339634 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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?? ------=_Part_17243_4805625.1214900339634 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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??

------=_Part_17243_4805625.1214900339634--