Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia-drivers and umask 0027
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
muddle
n00b
n00b


Joined: 01 May 2007
Posts: 28

PostPosted: Tue Sep 14, 2021 5:42 pm    Post subject: nvidia-drivers and umask 0027 Reply with quote

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
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2718

PostPosted: Tue Sep 14, 2021 6:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum