Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Get permission denied with emerge after chroot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
linuxuser
n00b
n00b


Joined: 10 Aug 2013
Posts: 2

PostPosted: Sat Aug 10, 2013 9:55 am    Post subject: Get permission denied with emerge after chroot Reply with quote

I'm working through the install, using hardened sources on an AMD64 machine. I've just used chroot to move into the new environment but when I try either the emerge-webrsync or the emerge --sync commands I get permission denied, and sudo su gets the same response.

What could be causing such an outcome?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54248
Location: 56N 3W

PostPosted: Sat Aug 10, 2013 12:07 pm    Post subject: Reply with quote

linuxuser,

Welcome to Gentoo.

Run
Code:
emerge --info
If FEATURES includes
Code:
userfetch userpriv
the portage will used the portage user for fetching and building wherever it can. This means that /usr/portage/* needs to be writable by the portage user, but that should just work.

Try as root
Code:
FEATURES="-userfetch -userpriv" emerge --sync
this makes emerge pun as root, which should not be required.

Which stage3 file did you use?

What does
Code:
eselect profile list
show the * against ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
linuxuser
n00b
n00b


Joined: 10 Aug 2013
Posts: 2

PostPosted: Sat Aug 10, 2013 3:06 pm    Post subject: Reply with quote

Hi, thank you for your response.

I have since re-done the installation and have not recieved this error, I had to re-run earlier steps a few times, as my computer crashed periodically due to overheating, I guess I missed a step. Letting the machine cool and being able to complete the steps in one go has avoided the same problem repeating.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum