From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 06 18:07:24 2020 Received: (at 40405) by debbugs.gnu.org; 6 Apr 2020 22:07:24 +0000 Received: from localhost ([127.0.0.1]:49348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLZts-0000Bj-G2 for submit@debbugs.gnu.org; Mon, 06 Apr 2020 18:07:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLZtq-0000BJ-SW for 40405@debbugs.gnu.org; Mon, 06 Apr 2020 18:07:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jLZtl-0005Zw-3e; Mon, 06 Apr 2020 18:07:17 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44498 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jLZtk-0007ty-Ja; Mon, 06 Apr 2020 18:07:16 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Diego Nicola Barbato Subject: Re: bug#40405: System log files are world readable References: <87v9mg1zbt.fsf@GlaDOS.home> <874ktxh99k.fsf@gnu.org> Date: Tue, 07 Apr 2020 00:07:14 +0200 In-Reply-To: <874ktxh99k.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 06 Apr 2020 00:12:39 +0200") Message-ID: <87blo4clpp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40405 Cc: 40405@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, Ludovic Court=C3=A8s skribis: > In the meantime, the patch below fixes the syslogd problem. Also > attached is a patch for the accounting database, though that one is > questionable. I pushed the syslog bits along with a test as commit d7113bb655ff80a868a9e624c913f9d23e6c63ad. (I think already world-readable files will remain world-readable though?) The main remaining issue here is log files created by =E2=80=98fork+exec-command=E2=80=99. We=E2=80=99ll have to address that in= the Shepherd proper, I think. Ludo=E2=80=99.