Re: [HACKERS] mode of libs - Mailing list pgsql-hackers

From The Hermit Hacker
Subject Re: [HACKERS] mode of libs
Date
Msg-id Pine.BSF.3.96.980226174259.230J-100000@thelab.hub.org
Whole thread Raw
In response to Re: [HACKERS] mode of libs  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] mode of libs  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
On Wed, 25 Feb 1998, Bruce Momjian wrote:

> Now there is a bigger problem.  pg_pwd is mode rw-rw-rw- because a COPY
> is used to create it.  Any ideas how to fix this?  Copy sets the
> permissions to this before it creates the file.  It temporarily changes
> the umask to create the file.  If pg_pwd ever has data in it and it is
> world-readable, it is unsecure.
>
> Anyone have a brilliant idea on a fix?

    Why, again, is COPY creating files 666? 600, IMHO, sounds more
appropriate, but I imagine there has to be a reason why it is 666...

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] SELECT currval('SEQ') broken?
Next
From: The Hermit Hacker
Date:
Subject: Re: Snapshot 26Feb98 - configure still broken