From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1574 Path: news.gmane.org!not-for-mail From: Sam Morris Newsgroups: gmane.comp.sysutils.supervision.general Subject: Why does svlogd make rotated log files executable Date: Sat, 17 Nov 2007 11:59:28 +0000 (UTC) Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1195301143 30936 80.91.229.12 (17 Nov 2007 12:05:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2007 12:05:43 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-1809-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Nov 17 13:05:49 2007 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.50) id 1ItMQa-0007Qc-TB for gcsg-supervision@gmane.org; Sat, 17 Nov 2007 13:05:43 +0100 Original-Received: (qmail 16958 invoked by uid 76); 17 Nov 2007 12:05:39 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 16952 invoked from network); 17 Nov 2007 12:05:39 -0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: crypt.ethx.net User-Agent: Pan/0.132 (Waxed in Black) Original-Sender: news Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1574 Archived-At: I was wondering why it is that rotated log files become executable. According to svlogd(8), this is deliberate ("svlogd closes current, changes permission of current to 0755, renames current to @timestamp.s, and starts with a new empty current") but the reason why this is done is not documented. It just seems like an odd thing to do, since rotated log files do not contain executable content... -- Sam Morris http://robots.org.uk/ PGP key id 1024D/5EA01078 3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078