Portage version 1.9.12. emerge sys-apps/portage. Updates to 1.9.13. Fails on + install -v -m0700 -d /var/tmp/portage/portage-1.9.13/work ACCESS DENIED mkdir: /usr/var/tmp/portage/portage-1.9.13/work install: cannot create directory `/var/tmp/portage/portage-1.9.13/work': Permission denied I have traced this call to /usr/sbin/ebuild.sh and the command "install -d ${WORKDIR}" The install -d command works on the shell. If I do a mkdir in place of the install -d the directory is properly created. But fails on the next attempt to call the command install -d. I also tried dumping the command into another shell script and it ran fine there as well. I have looked at the sandbox-emerge.*.logs but they don't seem to elude to a possible solution. Emerge worked fine until I attempted to upgrade to the newer versions moving from the release canidate to the 1.1 release.
Are you still having this issue? Did you move /var to /usr/var? I see /usr/var down there, and it's possible that some changes you made caused the sandbox to mess up (a bug, not your fault.)
OK, this was probably caused by either /var or /var/tmp being a symlink. This has been fixed in the sandbox code as of Portage 2.0.12