Re: pgsql-server/src/interfaces/libpq fe-connect.c - Mailing list pgsql-committers

From Bruce Momjian
Subject Re: pgsql-server/src/interfaces/libpq fe-connect.c
Date
Msg-id 200208300254.g7U2sZp15614@candle.pha.pa.us
Whole thread Raw
In response to Re: pgsql-server/src/interfaces/libpq fe-connect.c  (Alvaro Herrera <alvherre@atentus.com>)
List pgsql-committers
Alvaro Herrera wrote:
> En Fri, 30 Aug 2002 10:15:02 +0800
> "Christopher Kings-Lynne" <chriskl@familyhealth.com.au> escribi?:
>
> > Does this patch also check that it's not world-writable?
>
> Yes (S_IRWXG | S_IRWXO).
>
> What it doesn't check is that the directory it lives in is also not
> world- or group-writable, or that it is a regular file.

I think the existing checks are enough.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pgsql-server/src/interfaces/libpq fe-connect.c
Next
From: momjian@postgresql.org (Bruce Momjian - CVS)
Date:
Subject: pgsql-server/doc/src/sgml/ref copy.sgml select ...