Re: [ADMIN] pg_basebackup permission denied error - Mailing list pgsql-admin

From Günce Kaya
Subject Re: [ADMIN] pg_basebackup permission denied error
Date
Msg-id CAAV2-mVhwfym5v-7re7-g1np-0ywkBfDZHFx0JLuCkDqXzBb4w@mail.gmail.com
Whole thread Raw
In response to Re: [ADMIN] pg_basebackup permission denied error  (Shreeyansh Dba <shreeyansh2014@gmail.com>)
List pgsql-admin
Hi,

/data directory's owner is Postgres and I also changed permission as chmod 700 data. Still doesn't work now. 

Regards,
Gunce


On Thu, Nov 9, 2017 at 8:27 AM, Shreeyansh Dba <shreeyansh2014@gmail.com> wrote:


On Thu, Nov 9, 2017 at 6:16 AM, Günce Kaya <guncekaya14@gmail.com> wrote:
Hello,

I'm getting error when using pg_basebackup as bellow;

pg_basebackup: could not create directory "/data": Permission denied

I couldn't overcome with that problem. Any suggestion would be appreciated.

Regards,
Gunce Kaya


Hi Gunce Kaya,


/data -- directory requires postgres user permission.


--




--
Gunce Kaya

pgsql-admin by date:

Previous
From: Shreeyansh Dba
Date:
Subject: Re: [ADMIN] pg_basebackup permission denied error
Next
From: Shreeyansh Dba
Date:
Subject: Re: [ADMIN] pg_basebackup permission denied error