Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.121.12]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9GGPZP92539 for ; Tue, 16 Oct 2001 12:25:35 -0400 (EDT) (envelope-from nickf@ontko.com) Received: from nick (1Cust248.tnt1.richmond.in.da.uu.net [63.27.103.248]) by harrier.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with SMTP id JAA06023 for ; Tue, 16 Oct 2001 09:25:32 -0700 (PDT) Reply-To: From: "Nick Fankhauser" To: Subject: Re: What may be the url we need to use to connect the Postgres Database with Java Date: Tue, 16 Oct 2001 11:23:51 -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) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal In-Reply-To: <005401c155f6$b4ba5270$ec01a8c0@eth.net> X-Archive-Number: 200110/140 X-Sequence-Number: 2385 > Permission denied when i go for the backup. The steps i am doing is > > 1. Logins as root > 2. su postgres > 3. pg_dump Databasename redirected to file name... > > Let me know why i am getting this error Maybe the postgres user does not have permission to create a file in this directory. If this is true, the error you are getting would be from the operating system, not from pg_dump. To test this, try the same steps, but instead of starting pg_dump, do: "touch test" to see if the postgres user can create a file. If you get an error it is simply a directory permission problem. -Nick -------------------------------------------------------------------------- Nick Fankhauser nickf@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/