From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#40405: System log files are world readable Date: Tue, 07 Apr 2020 00:07:14 +0200 Message-ID: <87blo4clpp.fsf@gnu.org> References: <87v9mg1zbt.fsf@GlaDOS.home> <874ktxh99k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42563) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLZuV-00058O-44 for bug-guix@gnu.org; Mon, 06 Apr 2020 18:08:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLZuU-0005nb-Bv for bug-guix@gnu.org; Mon, 06 Apr 2020 18:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37802) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jLZuU-0005nX-9N for bug-guix@gnu.org; Mon, 06 Apr 2020 18:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jLZuU-0000E3-3f for bug-guix@gnu.org; Mon, 06 Apr 2020 18:08:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: 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") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Diego Nicola Barbato Cc: 40405@debbugs.gnu.org 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.