From: | Günce Kaya <guncekaya14(at)gmail(dot)com> |
---|---|
To: | Shreeyansh Dba <shreeyansh2014(at)gmail(dot)com> |
Cc: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: pg_basebackup permission denied error |
Date: | 2017-11-09 06:48:47 |
Message-ID: | CAAV2-mVhwfym5v-7re7-g1np-0ywkBfDZHFx0JLuCkDqXzBb4w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)gmail(dot)com>
wrote:
>
>
> On Thu, Nov 9, 2017 at 6:16 AM, Günce Kaya <guncekaya14(at)gmail(dot)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
>>
>> Linkedin <https://tr.linkedin.com/in/guncekaya> - Twitter
>> <https://twitter.com/gguncesi> - Blog
>> <http://www.guncekaya.blogspot.com.tr/>
>>
>
> Hi Gunce Kaya,
>
> /data -- directory requires postgres user permission.
>
>
> --
> https://shreeyansh.com/
> [image: http://www.shreeyansh.com] <http://www.shreeyansh.com>
>
--
Gunce Kaya
Linkedin <https://tr.linkedin.com/in/guncekaya> - Twitter
<https://twitter.com/gguncesi> - Blog
<http://www.guncekaya.blogspot.com.tr/>
From | Date | Subject | |
---|---|---|---|
Next Message | Shreeyansh Dba | 2017-11-09 06:49:05 | Re: pg_basebackup permission denied error |
Previous Message | Shreeyansh Dba | 2017-11-09 06:27:48 | Re: pg_basebackup permission denied error |