Received: (at submit) by bugs.debian.org; 29 Apr 1997 14:55:38 +0000 Received: (qmail 10767 invoked from network); 29 Apr 1997 14:55:37 -0000 Received: from gatekeeper.verisim.com (207.134.10.201) by master.debian.org with SMTP; 29 Apr 1997 14:55:37 -0000 Received: from callandor ([192.168.1.3]) by gatekeeper.verisim.com with smtp id m0wMEJZ-000H33C (Debian Smail-3.2 1996-Jul-4 #2); Tue, 29 Apr 1997 10:55:13 -0400 (EDT) Sender: bcwhite Message-ID: <33660BE1.2A41C09A@verisim.com> Date: Tue, 29 Apr 1997 10:55:09 -0400 From: Brian White <bcwhite@verisim.com> Organization: Verisim, Inc. http://www.verisim.com/ X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.29 i486) MIME-Version: 1.0 To: Debian Bugs <submit@bugs.debian.org> Subject: savelog makes unwritable files Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Package: debianutils Version: 1.4 It appears that "savelog" has been changed so that it automatically recreates the original file with a size of 0 after rotating the logs. This in itself is not a problem except that it creates that new file with the permissions given by the "-m" option. If the permissions givin with "-m" do not include write (and they sometimes don't since writing to rotated logs is not usually useful), then the new log file is effectively locked out. I would recommend either removing this feature or having "savelog" save a copy of the permissions before rotating and then restoring those exact flags. Brian ( bcwhite@verisim.com ) ------------------------------------------------------------------------------- In theory, theory and practice are the same. In practice, they're not.