GNU bug report logs - #64562
Rotated logs have different permissions from logs that have not yet been rotated

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Mon, 10 Jul 2023 18:32:02 UTC

Severity: important

Tags: security

Merged with 57701

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Leo Famulari <leo <at> famulari.name>
Cc: 64562 <at> debbugs.gnu.org
Subject: bug#64562: Rotated logs have different permissions from logs that have not yet been rotated
Date: Sat, 07 Sep 2024 00:17:19 +0200
Hi,

Leo Famulari <leo <at> famulari.name> skribis:

> I noticed this inconsistency:
>
> ------
> $ ls -l /var/log/messages*
> -rw-r----- 1 root root 112994 Jul 10 14:29 /var/log/messages
> -rw-r--r-- 1 root root   8883 Jul  5 12:00 /var/log/messages.1.gz
> ------
>
> This seems like a mistake.

Definitely.  Rottlog being what it is, few people are willing to hack on
it.

Good news is that the upcoming Shepherd 1.0 has a ‘log-rotation’ that
doesn’t have this particular bug and is hopefully more hackable:

  https://lists.gnu.org/archive/html/guix-devel/2024-05/msg00159.html

Ludo’.




This bug report was last modified 213 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.