View previous topic :: View next topic |
Author |
Message |
linuxuser n00b
Joined: 10 Aug 2013 Posts: 2
|
Posted: Sat Aug 10, 2013 9:55 am Post subject: Get permission denied with emerge after chroot |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54248 Location: 56N 3W
|
Posted: Sat Aug 10, 2013 12:07 pm Post subject: |
|
|
linuxuser,
Welcome to Gentoo.
Run If FEATURES includes 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 |
|
|
linuxuser n00b
Joined: 10 Aug 2013 Posts: 2
|
Posted: Sat Aug 10, 2013 3:06 pm Post subject: |
|
|
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 |
|
|
|