Re: pg_basebackup ignores the existing data directory permissions - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pg_basebackup ignores the existing data directory permissions
Date
Msg-id 1a6d580f-edc6-1453-c6e2-9a493c95fdc0@2ndquadrant.com
Whole thread Raw
In response to Re: pg_basebackup ignores the existing data directory permissions  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Responses Re: pg_basebackup ignores the existing data directory permissions
Re: pg_basebackup ignores the existing data directory permissions
List pgsql-hackers
On 2019-03-09 02:19, Haribabu Kommi wrote:
> Yes, I agree that it may be a problem if the existing data directory
> permissions
> are 0700 to changing it to 0750. But it may not be a problem for the
> scenarios,
> where the existing data permissions  >=0750, to the upstream permissions.
> Because user must need to change anyway to start the server, otherwise
> server
> start fails, and also the files inside the data folder follows the
> permissions of the
> upstream data directory.
> 
> usually production systems follows same permissions are of upstream, I don't
> see a problem in following the same for development environment also?

I think the potential problems of getting this wrong are bigger than the
issue we are trying to fix.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Mitar
Date:
Subject: Re: Feature: temporary materialized views
Next
From: Peter Eisentraut
Date:
Subject: Re: propagating replica identity to partitions