Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.121.50]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9ACvDn86857 for ; Wed, 10 Oct 2001 08:57:13 -0400 (EDT) (envelope-from nickf@ontko.com) Received: from 1cust17.tnt2.richmond.in.da.uu.net ([63.26.248.17] helo=nick) by avocet.mail.pas.earthlink.net with smtp (Exim 3.32 #2) id 15rIv6-0003IN-00; Wed, 10 Oct 2001 05:57:08 -0700 Reply-To: From: "Nick Fankhauser" To: "Moovarkku Mudhalvan" Cc: Subject: Re: Permission Denied When i am Trying to take Backup Date: Wed, 10 Oct 2001 07:55:31 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <005f01c15183$4a68eac0$ec01a8c0@eth.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal X-Archive-Number: 200110/89 X-Sequence-Number: 2335 Perhaps postgres doesn't have rights to create in the current directory? To test this, try to use the same procedure & at step 3, do: touch instead of starting dump. If it fails, you have the answer. What does the "-l" option on su do? (I'm unfamiliar with it & apparently don't have such an option on the version I'm running.) > -----Original Message----- > From: Moovarkku Mudhalvan [mailto:mudhalvan@vasunas.com] > Sent: Wednesday, October 10, 2001 7:01 AM > To: Stephan Szabo; Nick Fankhauser > Cc: Laurette Cisneros; pgsql-admin@postgresql.org > Subject: Permission Denied When i am Trying to take Backup > > > Hi Gurus, > > 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" > Did any one faced the Same problem. > I will tell u what are the things which i did > > 1. Login as root > 2. su -l postgres > 3. pg_dump databasename >filename > > Where other things are working fine. Only when i was trying to take the > backup i am getting the problem. Please let me know some guidence > > Thanks > Mudhalvan M.M >