Gentoo Archives: gentoo-user

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

Replies