public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] logrotate: /var/log/portage/elog "insecure permissions"?
@ 2011-08-05 15:22 Jarry
  2011-08-05 15:59 ` Florian Philipp
  0 siblings, 1 reply; 9+ messages in thread
From: Jarry @ 2011-08-05 15:22 UTC (permalink / raw
  To: gentoo-user

Hi,
today I received this mail from cron:
---
error: skipping "/var/log/portage/elog/summary.log" because
parent directory has insecure permissions (It's world writable
or writable by group which is not "root") Set "su" directive
in config file to tell logrotate which user/group should be
used for rotation.
---

My /var/log/portage/elog has this permissions:
drwxrws--- 2 portage portage 4096 Jun  1  2010 elog

What is wrong with it? I'm pretty sure I did not touch it
for years so I'm surprised logrotate is suddenly complaining
(it has been updated recently, that might be reason).

Anyway, how should those permissions look like to make
logrotate (and cron) happy?

Jarry

-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-08-29 13:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-05 15:22 [gentoo-user] logrotate: /var/log/portage/elog "insecure permissions"? Jarry
2011-08-05 15:59 ` Florian Philipp
2011-08-05 22:08   ` Neil Bothwick
2011-08-07  0:22     ` Mick
2011-08-07 15:20       ` Florian Philipp
2011-08-09 20:13         ` Mick
2011-08-28 11:14         ` Mick
2011-08-28 18:44           ` Florian Philipp
2011-08-29 13:42             ` Florian Philipp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox