Re: file_fdw target file ownership

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Daniel Vérité <daniel(dot)verite(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: file_fdw target file ownership
Date: 2013-09-08 18:04:24
Message-ID: 20130908180424.GA743663@alap2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2013-09-08 20:00:58 +0200, Daniel Vérité wrote:
> Or is there a simpler way to deal with the above case?

One would be to use open(O_NOFOLLOW)?

But more generally I am of the opinion that it's the superusers
responsibility to make sure that cannot happen by only using properly
secured files.

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2013-09-08 18:37:58 Re: file_fdw target file ownership
Previous Message Daniel =?ISO-8859-1?Q?V=E9rit=E9?= 2013-09-08 18:00:58 file_fdw target file ownership