Re: can't "make" - SOLVED

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



On Sun, Apr 5, 2009 at 11:38 AM, Michael Klinosky <mpk2@xxxxxxxxx> wrote:

> I asked about 'make' as $ (I recall someone stating on a maillist that $
> could 'make', but # had to 'make install'). Seems that's wrong; I had to
> be root to make.

It's slightly more complicated than that. The 'make' process is
basically a scripted set of commands, usually related to various build
functions, and the permissions required depend on what a given 'make'
command needs to do. You may need to be root to make, because it's
putting things into /lib/modules/`uname -r` which requires root
permissions.

Most files can be (and indeed should be for security reasons) built as
a normal user. It's usually just writing the installed files to the
final destination such as /usr/local/ or in your case /lib/modules/
which requires elevated privileges. Have I made this clearer, or
completely lost you?



-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux