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 485d36f6-b669-f4ab-44b4-c932401da78b@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
List pgsql-hackers
pg_basebackup copies the data directory permission mode from the
upstream server.  But it doesn't copy the ownership.  So if say the
upstream server allows group access and things are owned by
postgres:postgres, and I want to make a copy for local development and
make a backup into a directory owned by peter:staff without group
access, then it would be inappropriate for pg_basebackup to change the
permissions on that directory.

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


pgsql-hackers by date:

Previous
From: ilmari@ilmari.org (Dagfinn Ilmari Mannsåker)
Date:
Subject: Re: Pluggable Storage - Andres's take
Next
From: Christoph Berg
Date:
Subject: Re: Reporting script runtimes in pg_regress