Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Proper permissions for /var/log/portage/elog/summary.log?
Date: Sun, 24 Jun 2012 18:30:15
Message-Id: 4FE75C18.8000907@gmail.com
In Reply to: [gentoo-user] Proper permissions for /var/log/portage/elog/summary.log? by Jarry
1 Jarry wrote:
2 > Hi,
3 > I have just checked my machines and I found I have basically
4 > two groups of settings ("ls -al" in /var/log/portage/elog/):
5 >
6 > A)
7 > drwxrws--- 2 portage root 4096 Jun 24 03:10 .
8 > drwxr-xr-x 3 root root 4096 Apr 7 2009 ..
9 > -rw-rw-r-- 1 portage root 57760 Jun 22 15:11 summary.log
10 >
11 > B)
12 > drwxrwsr-x 2 portage portage 4096 Jun 24 13:30 .
13 > drwxrws--- 3 portage portage 4096 Nov 3 2011 ..
14 > -rw-rw-r-- 1 portage portage 1132 Jun 22 17:28 summary.log
15 >
16 > Not only "summary.log", but also /var/log/portage/ and
17 > /var/log/portage/elog/ have quite different permissions.
18 > I'm sure I never changed it manually, the only difference
19 > is that "A" group has been installed 3 yers ago, while "B"
20 > just recently (but both regulary updated).
21 >
22 > So is the "B-version" correct one?
23 >
24 > Jarry
25
26
27 This is my thinking on why it may be different for different folks.
28 This first tho. I run emerge as root. I have not added my regular user
29 to the portage group. I have no memory of messing with the permissions
30 either.
31
32 I think that if you use a regular user to emerge some things, it gets
33 set to portage:portage or some mix of portage:root. If you always run
34 emerge as root, then you get root:root. It may be that this is only set
35 once or that it could be modified if you run as root then later on run
36 as a user.
37
38 For the record, mine is set to root:root. As mentioned above, I ALWAYS
39 run emerge as root.
40
41 Any one have thoughts on this?
42
43 Dale
44
45 :-) :-)
46
47 --
48 I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
49
50 Miss the compile output? Hint:
51 EMERGE_DEFAULT_OPTS="--quiet-build=n"

Replies