Re: [F25] Help: latest update broke nvidia driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/03/2017 01:35 PM, Richard Shaw wrote:
On Thu, Aug 3, 2017 at 2:22 PM, Sherman Grunewagen <sugarwagon@xxxxxxx>
wrote:


<snip>

Not that anything useful/needed should be in /usr/local/include but what
are the permissions on it?




[root@new_pons ~]# ls -l /usr/local | fgrep include
drwxr-x---   3 root   root  4096 Aug  3 09:15 include


Ok, there is a problem but I don't know if it's THE problem. Everyone
should have read and execute permissions otherwise a normal user won't be
able to access the directory (and you should never build software as root!)

I've included all the directories as you should check the others as well:

$ ll /usr/local
total 40
drwxr-xr-x.  2 root root 4096 Aug  1 17:45 bin
drwxr-xr-x.  2 root root 4096 Feb  3  2016 etc
drwxr-xr-x.  2 root root 4096 Feb  3  2016 games
drwxr-xr-x.  6 root root 4096 Feb 18 07:27 include
drwxr-xr-x.  7 root root 4096 Feb 18 07:27 lib
drwxr-xr-x.  2 root root 4096 Feb  3  2016 lib64
drwxr-xr-x.  2 root root 4096 Feb  3  2016 libexec
drwxr-xr-x.  2 root root 4096 Feb 18 07:27 sbin
drwxr-xr-x. 12 root root 4096 Aug  1 17:45 share
drwxr-xr-x.  2 root root 4096 Feb  3  2016 src

A "chmod 0755 /usr/local/include" should fix that particular error, but
like I said, there's no telling if that's the underlying problem.


That was the problem! Nice catch.  I'm clueless as to how previous
kmod-nvidia modules have built and run.  And I don't understand
why, when running akmods as root, the "make" process is unable
to "see" inside /usr/local/include (nor why it needs to, but that's a
different question).

But turning on the "other" permissions did the trick!
I would not have guessed it.

-Sherman

P.S. I just checked and gcc and its kin were updated yesterday when this
problem began.  Perhaps there's some new permissions demotion going on
in the compiler that wasn't there before.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux