From: Bryan Gardiner <bog@khumba.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Proper permissions for /var/log/portage/elog/summary.log?
Date: Sun, 24 Jun 2012 10:46:32 -0700 [thread overview]
Message-ID: <20120624104632.408dce93@khumba.net> (raw)
In-Reply-To: <4FE7203A.2080608@gmail.com>
On Sun, 24 Jun 2012 16:12:10 +0200
Jarry <mr.jarry@gmail.com> 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
I installed one hardened amd64 system on Feb 25 and have these settings:
total 2160
drwxrwsr-x 2 portage portage 40960 Jun 24 00:31 .
drwxrws--- 3 portage portage 4096 Feb 15 21:29 ..
-rw-rw-r-- 1 portage portage 114 Apr 20 08:05 ::20120420-150555.log
Then another on Mar 29 and have these settings:
total 936
drwxrws--- 2 portage root 20480 Jun 24 03:01 .
drwxr-xr-x 3 root root 4096 Mar 29 21:54 ..
-rw-rw-r-- 1 portage root 271 Mar 30 22:41 app-admin:logrotate-...
Unfortunately I can't think of any difference between when I set up
the two systems that would cause this. At least, it's not a
consistent change. For me, I at least want group=portage on
/var/log/portage/elog so my user in the portage group can read these.
The world permissions can go though :).
- Bryan
next prev parent reply other threads:[~2012-06-24 17:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-24 14:12 [gentoo-user] Proper permissions for /var/log/portage/elog/summary.log? Jarry
2012-06-24 15:19 ` Mick
2012-06-24 17:46 ` Bryan Gardiner [this message]
2012-06-24 18:27 ` Dale
2012-06-24 22:11 ` Mick
2012-06-24 22:48 ` Dale
2012-06-25 0:27 ` Bryan Gardiner
2012-06-25 3:26 ` Dale
2012-06-26 18:43 ` Tanstaafl
2012-06-25 18:19 ` Jarry
2012-06-25 22:20 ` Michael Mol
2012-06-26 6:56 ` Bryan Gardiner
2012-06-26 7:03 ` Bryan Gardiner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120624104632.408dce93@khumba.net \
--to=bog@khumba.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox