Gentoo Archives: gentoo-user

From: Daniel Troeder <daniel@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] after moving /usr/portage -> /var/portage, user can't --pretend
Date: Tue, 30 Jun 2009 04:48:14
Message-Id: 1246337288.16196.5.camel@mayo.local
In Reply to: [gentoo-user] after moving /usr/portage -> /var/portage, user can't --pretend by Maxim Wexler
1 On Mon, 2009-06-29 at 11:30 -0600, Maxim Wexler wrote:
2 > HI group,
3 >
4 > I moved /usr/portage to /var/portage and readjusted PORTDIR in
5 > make.conf and re & re'd the link to /etc/make.profile.
6 >
7 > Now emege -p pkg for user leads to
8 >
9 > Permission denied: '/var/portage/profiles/categories'
10 >
11 > It's OK for root.
12 >
13 > NB:user is in portage group, /var/portage/profiles/categories is owned
14 > by portage:portage. I googled the error message(I can't be the first
15 > to move portage to var)and got nothing. Something else to check?
16 >
17 > Maxim
18 Maybe it's one of the higher-up directories, that the user cannot read?
19 Check /var /var/portage /var/portage/profiles.
20 Easiest thing to do, would be to run as the user (not root):
21 $ find /var/portage > /dev/null
22 Only error messages should be displayed :)
23
24 Bye,
25 Daniel