Gentoo Archives: gentoo-user

From: Jarry <mr.jarry@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] logrotate: /var/log/portage/elog "insecure permissions"?
Date: Fri, 05 Aug 2011 15:25:08
Message-Id: 4E3C0AD2.6080409@gmail.com
1 Hi,
2 today I received this mail from cron:
3 ---
4 error: skipping "/var/log/portage/elog/summary.log" because
5 parent directory has insecure permissions (It's world writable
6 or writable by group which is not "root") Set "su" directive
7 in config file to tell logrotate which user/group should be
8 used for rotation.
9 ---
10
11 My /var/log/portage/elog has this permissions:
12 drwxrws--- 2 portage portage 4096 Jun 1 2010 elog
13
14 What is wrong with it? I'm pretty sure I did not touch it
15 for years so I'm surprised logrotate is suddenly complaining
16 (it has been updated recently, that might be reason).
17
18 Anyway, how should those permissions look like to make
19 logrotate (and cron) happy?
20
21 Jarry
22
23 --
24 _______________________________________________________________
25 This mailbox accepts e-mails only from selected mailing-lists!
26 Everything else is considered to be spam and therefore deleted.

Replies

Subject Author
Re: [gentoo-user] logrotate: /var/log/portage/elog "insecure permissions"? Florian Philipp <lists@×××××××××××.net>