Re: Permission Denied When i am Trying to take Backup

From: "Chris Ruprecht" <chrup999(at)yahoo(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Permission Denied When i am Trying to take Backup
Date: 2001-10-10 12:14:55
Message-ID: 002001c15185$2c41e220$5dd26383@corp.compucom.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)vasunas(dot)com>
To: "Stephan Szabo" <sszabo(at)megazone23(dot)bigpanda(dot)com>; "Nick Fankhauser"
<nickf(at)ontko(dot)com>
Cc: "Laurette Cisneros" <laurette(at)nextbus(dot)com>; <pgsql-admin(at)postgresql(dot)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(at)postgresql(dot)org)

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Stefan Huber 2001-10-10 12:24:42 Re: Permission Denied When i am Trying to take Backup
Previous Message Moovarkku Mudhalvan 2001-10-10 12:00:50 Permission Denied When i am Trying to take Backup