Re: Directory/File Access Permissions for COPY and Generic File Access Functions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Directory/File Access Permissions for COPY and Generic File Access Functions
Date
Msg-id 27818.1413430462@sss.pgh.pa.us
Whole thread Raw
In response to Directory/File Access Permissions for COPY and Generic File Access Functions  ("Brightwell, Adam" <adam.brightwell@crunchydatasolutions.com>)
Responses Re: Directory/File Access Permissions for COPY and Generic File Access Functions
List pgsql-hackers
"Brightwell, Adam" <adam.brightwell@crunchydatasolutions.com> writes:
> The attached patch for review implements a directory permission system that
> allows for providing a directory read/write capability to directories for
> COPY TO/FROM and Generic File Access Functions to non-superusers.

TBH, this sounds like it's adding a lot of mechanism and *significant*
risk of unforeseen security issues in order to solve a problem that we
do not need to solve.  The field demand for such a feature is just about
indistinguishable from zero.
        regards, tom lane



pgsql-hackers by date:

Previous
From: "Brightwell, Adam"
Date:
Subject: Directory/File Access Permissions for COPY and Generic File Access Functions
Next
From: Fujii Masao
Date:
Subject: CREATE POLICY and RETURNING