From: Sam Morris <sam@robots.org.uk>
To: supervision@list.skarnet.org
Subject: Why does svlogd make rotated log files executable
Date: Sat, 17 Nov 2007 11:59:28 +0000 (UTC) [thread overview]
Message-ID: <pan.2007.11.17.11.59.27@robots.org.uk> (raw)
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
reply other threads:[~2007-11-17 11:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=pan.2007.11.17.11.59.27@robots.org.uk \
--to=sam@robots.org.uk \
--cc=supervision@list.skarnet.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).