Received: from email01.aon.at (WARSL401PIP8.highway.telekom.at [195.3.96.117]) by postgresql.org (8.11.3/8.11.4) with SMTP id f9ACP2n78049 for ; Wed, 10 Oct 2001 08:25:02 -0400 (EDT) (envelope-from looseleaf@gmx.net) Received: (qmail 70874 invoked from network); 10 Oct 2001 12:24:57 -0000 Received: from n682p019.dipool.highway.telekom.at (HELO erde.gmx.net) ([212.183.95.51]) (envelope-sender ) by qmail1.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 10 Oct 2001 12:24:57 -0000 X-Signature-Licence: GPL X-Signature-Color: red Message-Id: <5.1.0.14.0.20011010142149.00b0bf90@pop.gmx.net> X-Sender: looseleaf@gmx.net@pop.gmx.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 10 Oct 2001 14:24:42 +0200 To: pgsql-admin@postgresql.org From: Stefan Huber Subject: Re: Permission Denied When i am Trying to take Backup In-Reply-To: <005f01c15183$4a68eac0$ec01a8c0@eth.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200110/88 X-Sequence-Number: 2334 Hi! > Greetings. I am using Postgresql in Red hat linux 71. When i was trying >to take the backup it is giving the error "Permission Denied" > 1. Login as root > 2. su -l postgres > 3. pg_dump databasename >filename Who gives you the "Permission denied"? The shell? The postmaster? What is the exact error message? I guess, you dno't have permission to create a file as user postgres in the directory you are working in. If you followed the installatino guide step by step, the postgres files/directories are owned by root, not by postgres. I always do a chown -R postgres:daemon /usr/local/pgsql (or postgres:postgres) after installation. Stefan -- Cameron's Law: An honest politician is one who, when he is bought, will stay bought.