Simplest possible fix attached.
** Attachment added:
0001-Remove-dependence-from-environment-s-umask-and-certa.patch
http://launchpadlibrarian.net/33287816/0001-Remove-dependence-from-environment-s-umask-and-certa.patch
--
dkms umask problems
https://bugs.launchpad.net/bugs/436039
You
The above does not set the permissions of the $dkms_tree/$module
directory, so any directories below it cannot be accessed.
** Changed in: dkms (Ubuntu)
Status: Incomplete = New
--
dkms umask problems
https://bugs.launchpad.net/bugs/436039
You received this bug notification because you
And again, umask is set in /home/pauli/.bashrc where sudo seems to pick
it up from.
--
dkms umask problems
https://bugs.launchpad.net/bugs/436039
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
So it's already explicitly doing this:
#if we're root, try to run as a user instead
if [ $USER = root ] getent passwd nobody 1/dev/null su nobody -c
/bin/true 1/dev/null; then
the_make_command=su nobody -c \$the_make_command\
chmod +x