pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: Magnus Hagander <magnus@hagander.net>
Cc: Pg Docs <pgsql-docs@lists.postgresql.org>
Subject: Re: ssl file permission
Date: Sat, 26 Sep 2020 09:54:59 -0600
Message-ID: <AA9B61E4-0611-45A7-A5D0-460E2E0C9887@gmail.com> (raw)
In-Reply-To: <CABUevEw71x6hJa-GMP6api1C9pZre4XgLn2cUX9oZcZvniRWPw@mail.gmail.com>
References: <CABUevEw71x6hJa-GMP6api1C9pZre4XgLn2cUX9oZcZvniRWPw@mail.gmail.com>

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

> On Sep 26, 2020, at 9:29 AM, Magnus Hagander <magnus@hagander.net> wrote:
> 
> 
> 
> 
>> On Sat, Sep 26, 2020 at 1:23 PM PG Doc comments form <noreply@postgresql.org> wrote:
>> The following documentation comment has been logged on the website:
>> 
>> Page: https://www.postgresql.org/docs/12/libpq-ssl.html
>> Description:
>> 
>> The instruction to use "chmod og-rwx" could leave the file with read
>> permission set.  Elsewhere the suggestion is "chmod 600".
> 
> 
> Not sure what you mean here -- how could it leave it with read permission set?
> 
> (Obviously it could for the owner, but 0600 also includes read permissions for the owner)
> 
> That said, it might be a good idea to be consistent since we seem to use a mix of different styles of chmod.
> 
> -- 
>  Magnus Hagander
>  Me: https://www.hagander.net/
>  Work: https://www.redpill-linpro.com/

view thread (4+ messages)  latest in thread

Message-ID: <AA9B61E4-0611-45A7-A5D0-460E2E0C9887@gmail.com>
Permalink:  ../AA9B61E4-0611-45A7-A5D0-460E2E0C9887@gmail.com/
Also on:    postgresql.org/message-id/AA9B61E4-0611-45A7-A5D0-460E2E0C9887@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: robjsargent@gmail.com, magnus@hagander.net, pgsql-docs@lists.postgresql.org
  Subject: Re: ssl file permission
  In-Reply-To: <AA9B61E4-0611-45A7-A5D0-460E2E0C9887@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox