pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nick Fankhauser <nickf@ontko.com>
To: pgsql-admin@postgresql.org
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: <NEBBLAAHGLEEPCGOBHDGIEJEDMAA.nickf@ontko.com> (raw)
In-Reply-To: <005401c155f6$b4ba5270$ec01a8c0@eth.net>


>     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/




view thread (4+ messages)

Message-ID: <NEBBLAAHGLEEPCGOBHDGIEJEDMAA.nickf@ontko.com>
Permalink:  ../NEBBLAAHGLEEPCGOBHDGIEJEDMAA.nickf@ontko.com/
Also on:    postgresql.org/message-id/NEBBLAAHGLEEPCGOBHDGIEJEDMAA.nickf@ontko.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: nickf@ontko.com
  Subject: Re: What may be the url we need to use to connect the Postgres Database with Java
  In-Reply-To: <NEBBLAAHGLEEPCGOBHDGIEJEDMAA.nickf@ontko.com>
  References: <005401c155f6$b4ba5270$ec01a8c0@eth.net> <NEBBLAAHGLEEPCGOBHDGIEJEDMAA.nickf@ontko.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox