supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* Why does svlogd make rotated log files executable
@ 2007-11-17 11:59 Sam Morris
  0 siblings, 0 replies; only message in thread
From: Sam Morris @ 2007-11-17 11:59 UTC (permalink / raw)
  To: supervision

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-17 11:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-17 11:59 Why does svlogd make rotated log files executable Sam Morris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).