From: Chris Ruprecht <chrup999@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: Permission Denied When i am Trying to take Backup
Date: Wed, 10 Oct 2001 07:14:55 -0500
Message-ID: <002001c15185$2c41e220$5dd26383@corp.compucom.com> (raw)
References: <Pine.BSF.4.21.0110080858240.77847-100000@megazone23.bigpanda.com>
<005f01c15183$4a68eac0$ec01a8c0@eth.net>
you should make sure, that you have 'rwx' access to the directory you're
trying to send the output to. Make sure, all your postgres files under the
postgres home (~postgres) as well as all directories are actually owned by
postgres. If they are not, this small script can change that:
cd ~postgres
find . -depth -exec chown postgres:postgres {} ";"
Best regards,
Chris
----- Original Message -----
From: "Moovarkku Mudhalvan" <mudhalvan@vasunas.com>
To: "Stephan Szabo" <sszabo@megazone23.bigpanda.com>; "Nick Fankhauser"
<nickf@ontko.com>
Cc: "Laurette Cisneros" <laurette@nextbus.com>; <pgsql-admin@postgresql.org>
Sent: Wednesday, October 10, 2001 7:00 AM
Subject: [ADMIN] 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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
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: chrup999@yahoo.com
Subject: Re: Permission Denied When i am Trying to take Backup
In-Reply-To: <002001c15185$2c41e220$5dd26383@corp.compucom.com>
References: <Pine.BSF.4.21.0110080858240.77847-100000@megazone23.bigpanda.com> <005f01c15183$4a68eac0$ec01a8c0@eth.net> <002001c15185$2c41e220$5dd26383@corp.compucom.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