Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 74F65650E90 for ; Tue, 1 Jul 2008 06:02:16 -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 45454-02 for ; Tue, 1 Jul 2008 06:01:40 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by postgresql.org (Postfix) with ESMTP id AC53C64FD64 for ; Tue, 1 Jul 2008 05:19:43 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id z27so336903ugc.49 for ; Tue, 01 Jul 2008 01:19:41 -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=6L5CWWQJpSGIBtWcB/xIMQj1UAxHsK5pM1NQ3MrLBS0=; b=RkPCmcgp3H56uhbPAtlwFmS5RmmM8qXA7sDEMIR9fHHY/Bgx+5MR00qrMRLny+53mm yCItdLfjNOYo7PMk5PnvkSDog5se14PT8buLiZFbc88Wmq3+Wao3Z1ir9Zy4oU0pFjba 7fbmQu69ezNqfyza+W17vw+/6K1DKF0dc4wHs= 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=rVokGeDe8hXmwSAKvhqIGX2dE6tfLTwbRAb51W+aktPdxSRbsfP52fU9X1dYmCNIxf NsPMIpjmhkJgnQw8AqXz7uCPCBjhqJVQZYTNIilylTHjU441IyzDkq214Anf5e6HZ85B mVyqcmnDyopCZG8pShNlUD8NeKANLkFTt3Dd0= Received: by 10.125.99.1 with SMTP id b1mr1320377mkm.151.1214900381077; Tue, 01 Jul 2008 01:19:41 -0700 (PDT) Received: by 10.125.96.10 with HTTP; Tue, 1 Jul 2008 01:19:41 -0700 (PDT) Message-ID: <9c3360200807010119s6513f6b2q3c3f42e2013da70c@mail.gmail.com> Date: Tue, 1 Jul 2008 15:19:41 +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_17247_10247867.1214900381082" 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/6 X-Sequence-Number: 29616 ------=_Part_17247_10247867.1214900381082 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_17247_10247867.1214900381082 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_17247_10247867.1214900381082--