1 |
Alan McKinnon wrote: |
2 |
> On Sat, 18 Feb 2012 22:28:11 +0200 |
3 |
> Nikos Chantziaras <realnc@×××××.de> wrote: |
4 |
> |
5 |
>> This isn't an important issue, but it still bugs me a bit (curiosity |
6 |
>> killed the cat.) Some while ago (no idea when exactly, could be 6 |
7 |
>> months ago or a year ago), I stopped being able to use "elogv" as a |
8 |
>> regular user. Something had changed the permissions of the |
9 |
>> "/var/log/portage" and "/var/log/portage/elog" directories. The |
10 |
>> only thing I know for sure, is that it wasn't me who changed them |
11 |
>> (and I'm the only user of that machine.) |
12 |
>> |
13 |
>> See the related bug report: |
14 |
>> |
15 |
>> https://bugs.gentoo.org/show_bug.cgi?id=404413 |
16 |
>> |
17 |
>> So I have a question: did anyone else here notice this as well? What |
18 |
>> is the output of: |
19 |
>> |
20 |
>> ls -ld /var/log/portage /var/log/portage/elog |
21 |
>> |
22 |
>> on your system? |
23 |
>> |
24 |
>> |
25 |
> |
26 |
> I use elogviewer in preference to elogv, no issues here. My perms: |
27 |
> |
28 |
> # ls -ld /var/log/portage /var/log/portage/elog |
29 |
> drwxrws--- 3 portage portage 315392 Feb 18 12:19 /var/log/portage |
30 |
> drwxrwsr-x 2 portage portage 24576 Feb 18 12:19 /var/log/portage/elog |
31 |
> |
32 |
> |
33 |
|
34 |
|
35 |
I changed mine to run as root a long time ago. I could view the logs |
36 |
but I could not delete the old ones when I was done. That would give a |
37 |
permissions error. I just tried it again just now as a user and it |
38 |
spits out this when I try to clear the logs: |
39 |
|
40 |
OSError: [Errno 13] Permission denied: <some file name here> |
41 |
|
42 |
I would think that is normal. Viewing logs can be done by everyone but |
43 |
clearing requires more permissions. |
44 |
|
45 |
Hope that helps. |
46 |
|
47 |
Dale |
48 |
|
49 |
:-) :-) |
50 |
|
51 |
-- |
52 |
I am only responsible for what I said ... Not for what you understood or |
53 |
how you interpreted my words! |
54 |
|
55 |
Miss the compile output? Hint: |
56 |
EMERGE_DEFAULT_OPTS="--quiet-build=n" |