Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmMcp-0002zs-Mj for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 27 May 2021 20:29:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lmMco-0002OJ-Mm for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 27 May 2021 20:29:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmMco-0002OB-HW for pgsql-pkg-yum@lists.postgresql.org; Thu, 27 May 2021 20:29:02 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmMcl-0007WB-FI for pgsql-pkg-yum@lists.postgresql.org; Thu, 27 May 2021 20:29:02 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1478:7c00:fea5:cef3:6806:58f9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 4FrfY56TVhz3DyC for ; Thu, 27 May 2021 22:28:57 +0200 (CEST) Date: Thu, 27 May 2021 22:28:57 +0200 From: Christoph Berg To: pgsql-pkg-yum@lists.postgresql.org Subject: Re: /var/lib/pgsql 0755 Message-ID: References: <20210527180353.GC2082@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210527180353.GC2082@telsasoft.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Re: Justin Pryzby > Would you consider setting at least /v/l/p to mode 755? And maybe the version > subdirs (like 14) too. Fwiw these directories are 755 on Debian. drwxr-xr-x 15 postgres postgres 4096 27. Mai 22:26 /var/lib/postgresql/ drwxr-xr-x 3 postgres postgres 4096 19. Apr 16:02 /var/lib/postgresql/10/ drwxr-xr-x 3 postgres postgres 4096 18. Aug 2020 /var/lib/postgresql/11/ But I can see the argument that the ~postgres HOME should be treated with care. Christoph