From: Nick Fankhauser <nickf@ontko.com>
To: Moovarkku Mudhalvan <mudhalvan@vasunas.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Permission Denied When i am Trying to take Backup
Date: Wed, 10 Oct 2001 07:55:31 -0500
Message-ID: <NEBBLAAHGLEEPCGOBHDGKEDMDMAA.nickf@ontko.com> (raw)
In-Reply-To: <005f01c15183$4a68eac0$ec01a8c0@eth.net>
Perhaps postgres doesn't have rights to create <filename> in the current
directory?
To test this, try to use the same procedure & at step 3, do: touch
<filename> 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
>
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, mudhalvan@vasunas.com
Subject: Re: Permission Denied When i am Trying to take Backup
In-Reply-To: <NEBBLAAHGLEEPCGOBHDGKEDMDMAA.nickf@ontko.com>
References: <005f01c15183$4a68eac0$ec01a8c0@eth.net> <NEBBLAAHGLEEPCGOBHDGKEDMDMAA.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