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 1Sivdx-0006lX-Gp for garchives@archives.gentoo.org; Sun, 24 Jun 2012 22:50:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3FFAEE09FC; Sun, 24 Jun 2012 22:50:33 +0000 (UTC) Received: from mail-gg0-f181.google.com (mail-gg0-f181.google.com [209.85.161.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 13B19E09CD for ; Sun, 24 Jun 2012 22:48:40 +0000 (UTC) Received: by ggnv5 with SMTP id v5so2733686ggn.40 for ; Sun, 24 Jun 2012 15:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=fZ0e+wRRI7E2JR5RjIlFj3P+Dx7im2fFasTT2GpKAlg=; b=R53ypEttU3hRJxqhn+CfY49m4IYu41BNMqadYTAgvLsBlc+lpaTY0yzhhrUL03TKLX UGOsKzDZCB/znD0KUhxQ4AmTmB7Sl4TxfPg/KskrP7VUE6M+n0RyjSRtpa8lQWS6C7oA DBBarg3A6LKeN2PbkYLcll6RXMJVgjvAyVVaQmPYOoqBGU4+w/E4O48/OZ8QG7SFMqOV wl3RUS1SBVrcycSVJcJlbHwZaIxSL/9JXIb+r+HKdHTDrn5F86YNT9PI1kB0yoAydKoa V+pVdJOL431Vh7HoPF1SxeSaYjbtYOOm5Jb+hAZ0x3tG3bHVMl8nalHtgF1pHnE59DFo hCsg== Received: by 10.236.121.194 with SMTP id r42mr10932771yhh.64.1340578115621; Sun, 24 Jun 2012 15:48:35 -0700 (PDT) Received: from [192.168.2.5] (adsl-65-0-65-71.jan.bellsouth.net. [65.0.65.71]) by mx.google.com with ESMTPS id n15sm46351356anh.6.2012.06.24.15.48.34 (version=SSLv3 cipher=OTHER); Sun, 24 Jun 2012 15:48:35 -0700 (PDT) Message-ID: <4FE79941.7010700@gmail.com> Date: Sun, 24 Jun 2012 17:48:33 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120617 Firefox/13.0.1 SeaMonkey/2.10.1 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: Re: [gentoo-user] Proper permissions for /var/log/portage/elog/summary.log? References: <4FE7203A.2080608@gmail.com> <4FE75C18.8000907@gmail.com> <201206242311.59825.michaelkintzios@gmail.com> In-Reply-To: <201206242311.59825.michaelkintzios@gmail.com> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 048efe2a-94fc-473e-828b-64355bd30938 X-Archives-Hash: 66f2cabea5faf1ad200e2e2da9b4c8a7 Mick wrote: > On Sunday 24 Jun 2012 19:27:36 Dale wrote: >> Jarry wrote: >>> Hi, >>> I have just checked my machines and I found I have basically >>> two groups of settings ("ls -al" in /var/log/portage/elog/): >>> >>> A) >>> drwxrws--- 2 portage root 4096 Jun 24 03:10 . >>> drwxr-xr-x 3 root root 4096 Apr 7 2009 .. >>> -rw-rw-r-- 1 portage root 57760 Jun 22 15:11 summary.log >>> >>> B) >>> drwxrwsr-x 2 portage portage 4096 Jun 24 13:30 . >>> drwxrws--- 3 portage portage 4096 Nov 3 2011 .. >>> -rw-rw-r-- 1 portage portage 1132 Jun 22 17:28 summary.log >>> >>> Not only "summary.log", but also /var/log/portage/ and >>> /var/log/portage/elog/ have quite different permissions. >>> I'm sure I never changed it manually, the only difference >>> is that "A" group has been installed 3 yers ago, while "B" >>> just recently (but both regulary updated). >>> >>> So is the "B-version" correct one? >>> >>> Jarry >> This is my thinking on why it may be different for different folks. >> This first tho. I run emerge as root. I have not added my regular user >> to the portage group. I have no memory of messing with the permissions >> either. >> >> I think that if you use a regular user to emerge some things, it gets >> set to portage:portage or some mix of portage:root. If you always run >> emerge as root, then you get root:root. It may be that this is only set >> once or that it could be modified if you run as root then later on run >> as a user. >> >> For the record, mine is set to root:root. As mentioned above, I ALWAYS >> run emerge as root. >> >> Any one have thoughts on this? >> >> Dale >> >> :-) :-) > I always run emerge as root. > > elog is owned by portage:root, summary.log within it as portage:root, other > log files within /var/log/portage are owned by portage:portage. So those that allow users to run would have the same permissions as everyone else. Now I wonder why they vary from system to system then. It seems to me, they should be the same for everyone. Just seems odd. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS="--quiet-build=n"