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

Re: compiling (or rather, failing to compile) a kernel



On Sat, Nov 10, 2012 at 09:31:57AM -0500, Stephen Powell wrote:

> Hi, Lisi.  My guess is that this is a permissions issue.  Is your id a member
> of group src?  (Issue the "groups" command and see if src is one of the groups
> listed in the output of the command.)  Here is a summary of the permission
> environment that must exist before you attempt to unpack the source as a non-root
> user:
> 
> (1) The directory /usr/src must be owned by user root and by group src.
> (2) The group (src) must have read, write, and execute permissions on /usr/src.
> (3) The group (src) must have the "set group id" permission on /usr/src.
> (4) Your non-root userid must be a member of group src.
> (5) The output of the "groups" command, when issued by your non-root userid,
>     must list "src" as one of the groups.  Please review the "Introduction"
>     section of the document.

Alternatively, if you can't or don't want to have your user in the src
group, just extract the tarball somewhere under $HOME. From $HOME you
can run "tar xf /usr/src/linux-source-<version>.tar.bz2" (or whatever)
and it will extract it into $HOME.

Cheers,
Tom

-- 
Half of being smart is knowing what you're dumb at.

Attachment: signature.asc
Description: Digital signature


Reply to: