From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QpMGk-0000d9-VK for garchives@archives.gentoo.org; Fri, 05 Aug 2011 15:25:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BA4A21C0A1; Fri, 5 Aug 2011 15:24:46 +0000 (UTC) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 004ED21C05D for ; Fri, 5 Aug 2011 15:23:41 +0000 (UTC) Received: by fxd23 with SMTP id 23so4356258fxd.40 for ; Fri, 05 Aug 2011 08:23:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=4Kfeu2geKPkSsbYCkMb8yqMdgREnG6kny/jnjAHEnaE=; b=ll+OEAECFjvw4qBF4n8qWRLmf4Gp0dHQ58hZprfkBUIJzdDmY20j/XsJb7Mq7DXAAB 6VmGwMk4j4aP/1iYpg1v6DXGBR8n3TnzNy/HSOEhLVtUQqSgcCbE0LzJFsa1BmpxrPq0 n9ruWCyiwuPGRkgHqV0NdQpThTevKTP6wgTMg= Received: by 10.204.154.194 with SMTP id p2mr753919bkw.257.1312557821051; Fri, 05 Aug 2011 08:23:41 -0700 (PDT) Received: from [10.0.0.11] ([88.151.74.164]) by mx.google.com with ESMTPS id q1sm418820faa.1.2011.08.05.08.23.39 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 05 Aug 2011 08:23:40 -0700 (PDT) Message-ID: <4E3C0AD2.6080409@gmail.com> Date: Fri, 05 Aug 2011 17:22:58 +0200 From: Jarry User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] logrotate: /var/log/portage/elog "insecure permissions"? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: a279ddf6aef46b7d2f26c398faeeabf4 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.