1 |
On Sun, 24 Jun 2012 16:12:10 +0200 |
2 |
Jarry <mr.jarry@×××××.com> wrote: |
3 |
|
4 |
> Hi, |
5 |
> I have just checked my machines and I found I have basically |
6 |
> two groups of settings ("ls -al" in /var/log/portage/elog/): |
7 |
> |
8 |
> A) |
9 |
> drwxrws--- 2 portage root 4096 Jun 24 03:10 . |
10 |
> drwxr-xr-x 3 root root 4096 Apr 7 2009 .. |
11 |
> -rw-rw-r-- 1 portage root 57760 Jun 22 15:11 summary.log |
12 |
> |
13 |
> B) |
14 |
> drwxrwsr-x 2 portage portage 4096 Jun 24 13:30 . |
15 |
> drwxrws--- 3 portage portage 4096 Nov 3 2011 .. |
16 |
> -rw-rw-r-- 1 portage portage 1132 Jun 22 17:28 summary.log |
17 |
> |
18 |
> Not only "summary.log", but also /var/log/portage/ and |
19 |
> /var/log/portage/elog/ have quite different permissions. |
20 |
> I'm sure I never changed it manually, the only difference |
21 |
> is that "A" group has been installed 3 yers ago, while "B" |
22 |
> just recently (but both regulary updated). |
23 |
> |
24 |
> So is the "B-version" correct one? |
25 |
> |
26 |
> Jarry |
27 |
|
28 |
I installed one hardened amd64 system on Feb 25 and have these settings: |
29 |
|
30 |
total 2160 |
31 |
drwxrwsr-x 2 portage portage 40960 Jun 24 00:31 . |
32 |
drwxrws--- 3 portage portage 4096 Feb 15 21:29 .. |
33 |
-rw-rw-r-- 1 portage portage 114 Apr 20 08:05 ::20120420-150555.log |
34 |
|
35 |
Then another on Mar 29 and have these settings: |
36 |
|
37 |
total 936 |
38 |
drwxrws--- 2 portage root 20480 Jun 24 03:01 . |
39 |
drwxr-xr-x 3 root root 4096 Mar 29 21:54 .. |
40 |
-rw-rw-r-- 1 portage root 271 Mar 30 22:41 app-admin:logrotate-... |
41 |
|
42 |
Unfortunately I can't think of any difference between when I set up |
43 |
the two systems that would cause this. At least, it's not a |
44 |
consistent change. For me, I at least want group=portage on |
45 |
/var/log/portage/elog so my user in the portage group can read these. |
46 |
The world permissions can go though :). |
47 |
|
48 |
- Bryan |