Gentoo Archives: gentoo-user

From: Gevisz <gevisz@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] eix-update, run from root, failed to write database file
Date: Tue, 06 Jan 2015 11:18:16
Message-Id: 54abc46e.811a980a.7f53.377d@mx.google.com
In Reply to: Re: [gentoo-user] eix-update, run from root, failed to write database file by "Florian Gamböck"
1 On Mon, 05 Jan 2015 13:11:02 +0100 Florian Gamböck <ml@×××××.de> wrote:
2
3 > Am 05.01.2015 um 11:54 schrieb Gevisz:
4 > > After today's world update, the eix-update command, run under root,
5 > > failed to "open the database file '/var/cache/eix/portage.eix' for writing."
6 > >
7 > > Nevertheless, the same command, run with ordinary user privileges, completed without error.
8 >
9 > Obviously, while updating, the priviliges are dropped to another user
10 > (root shouldn't be overused anyway). In this case, they are most likely
11 > dropped to user "portage".
12
13 Ok, thank you for explanation.
14
15 > Try changing the owner and group of the cache to "portage".
16 >
17 > $ ls -al /var/cache/eix/portage.eix
18 > -rw-rw-r-- 1 portage portage 12302936 Dec 19 16:45
19 > /var/cache/eix/portage.eix
20 >
21 > Greetings
22 > --Flo
23 >