From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Alvaro Herrera <alvherre(at)atentus(dot)com> |
Cc: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, momjian(at)postgresql(dot)org, pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql-server/src/interfaces/libpq fe-connect.c |
Date: | 2002-08-30 02:54:35 |
Message-ID: | 200208300254.g7U2sZp15614@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Alvaro Herrera wrote:
> En Fri, 30 Aug 2002 10:15:02 +0800
> "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian - CVS | 2002-08-30 03:18:23 | pgsql-server/doc/src/sgml/ref copy.sgml select ... |
Previous Message | Alvaro Herrera | 2002-08-30 02:26:11 | Re: pgsql-server/src/interfaces/libpq fe-connect.c |