I observe a problem that rather similar to bug 137773 _recently_ . But it involved more modules than just the nvidia-driver. When I compiled my kernel modules in the first place everything was fine, but after the introduction of gentoo-sources-2.6.23-r6 I could not recompile my modules anymore (not even for older kernels). The error message looked like this: Makefile:1498: ..tmp_kallsyms1.o.cmd: Permission denied ... I use genkernel for compiling my kernel so it might be a new bug concerning genkernel. I checked my system and FEATURES="userpriv" is acually set on my system. I also checked my /usr/src/linux/* files and found out that there are some files (like "..tmp_kallsyms1.o.cmd") actually are not readable for the user "portage": -rw-r----- 1 root root so I thanged the ownership to: -rw-r----- 1 root portage and now everything works fine. Is there a way to do that or something similar automatically in the ebuild or genkernel if needed to not fully confuse unexperienced users?
Nothing new here; if you think the summary of the original bug sucks, feel free to suggest a better one there. Thanks. :) *** This bug has been marked as a duplicate of bug 137773 ***