View previous topic :: View next topic |
Author |
Message |
muddle n00b
Joined: 01 May 2007 Posts: 28
|
Posted: Tue Sep 14, 2021 5:42 pm Post subject: nvidia-drivers and umask 0027 |
|
|
I'm unable to compile nvidia-drivers with umask set to 0027 in /etc/profile. With a umask 0022 everything works out fine. Is this expected behavior?
The error message with umask 0027:
Code: | ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it. |
|
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2718
|
Posted: Tue Sep 14, 2021 6:18 pm Post subject: |
|
|
By default portage builds with as user/group portage:portage (which should be kept like that), and if you built your /usr/src/linux with umask 0027 then portage user won't be able to read some root:root (or whatever else you used) 0640 newly built files in it when they'd need to be 0644 to be world readable.
So yes, if you're not giving access to files it needs, it's expected. |
|
Back to top |
|
|
|