Re: ssl file permission

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rob Sargent <robjsargent(at)gmail(dot)com>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: ssl file permission
Date: 2020-09-26 18:38:50
Message-ID: 5922.1601145530@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Rob Sargent <robjsargent(at)gmail(dot)com> writes:
> Sorry. Execute permission for owner may have been on prior to chmod og-rwx . I thought that might be a problem and 600 eliminates that

It seems highly unlikely that openssl would write the file with x
permission turned on. Even if it did, there's no particular
reason for us to insist on changing it.

>> That said, it might be a good idea to be consistent since we seem to use a mix of different styles of chmod.

There is that. But I think the "og-rwx" style is more recommendable,
if we're going to try to standardize.

regards, tom lane

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Daniel Westermann (DWE) 2020-09-27 15:58:14 Wrong example in the bloom documentation
Previous Message Rob Sargent 2020-09-26 15:54:59 Re: ssl file permission