Summary: | linux-mod.eclass should warn of bad permission into ${KV_OUT_DIR} | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Francesco Riosa <vivo75> |
Component: | Eclasses | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --debug
emerge emerge --info emerge -pqv |
Description
Francesco Riosa
2011-07-30 12:48:04 UTC
Created attachment 281565 [details]
emerge --debug
Created attachment 281567 [details]
emerge
Created attachment 281569 [details]
emerge --info
Created attachment 281571 [details]
emerge -pqv
The whole mess was caused by /usr/src having bad permissions: drwxr----- 5 user root 4096 30 lug 02.07 /usr/src/ since portage drop privileges it was unable to access the contents of $KV_OUT_DIR. While there is nothing linux-{mod,info}.eclass can do to solve the situation a big fat warning would be apreciated, saving the idio^W user the time to debug this issue. (In reply to comment #5) > drwx------ 5 user root 4096 30 lug 02.07 /usr/src/ (o700) Feels like an extreme corner case |