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

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



On Sat, 10 Nov 2012 06:35:21 -0500 (EST), Lisi Reisz wrote:
> 
> I have been trying to get to grips with compiling a custom kernel.  I have 
> been shying away for too long.
> 
> I am following Stephen's marvellous work, and had got this far:
> 
> http://users.wowway.com/~zlinuxman/Kernel.htm#Unpack
> 
> But I get errors the end of which is below.  I tried to copy and paste all the 
> error reports that Konsole gave me, but could not manage it.  Advice, please!
> 
> Thanks,
> Lisi
> 
> ...

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.

-- 
  .''`.     Stephen Powell    
 : :'  :
 `. `'`
   `-


Reply to: