You are root, you do your "emerge --keep-going --ask --update --newuse --deep --oneshot -t world"
and boom this dreaded restricted package pops in front of you:
Fetch instructions for dev-java/oracle-jdk-bin-126.96.36.199:
* Please download jdk-7u5-linux-x64.tar.gz from:
* and move it to /usr/portage/distfiles
I just hate this : I need to go to a browser (as my normal user of course), download it, come back to the CLI, do the move like "mv /home/gbin/downloads/jkd-blahblah /usr/portage/distfiles"
But when you think about it, as everything is sha/md5 in portage, the distfiles directory can be considered a public directory... so just :
chmod 777 /usr/portage/distfiles
Then straight at the warning before emerging, click, dl straight to it .. no more moving gymnastic between users.