ch6: kernel headers - chown

Greg Schafer gschafer at
Sun Jan 25 13:15:34 PST 2004

On Sun, Jan 25, 2004 at 12:53:58PM +0100, Florian Engelhardt wrote:
> cvs/chapter06/kernel.html currently says:
> "In light of this, you might want to run chown -R 0:0 on the 
> linux-2.4.24 directory to ensure all files are owned by user root."
> This sounds like the chown is optional. However, if it is not done, the 
> header files being copied to /usr/include end up with wrong uid+gid. 
> Wouldn't it be better to make that chown mandatory?

No, the header files being copied is a different issue. Files copied inherit
the ownership of the user i.e. root. No problem.

The para you refer to is about the kernel sources. Keeping them around is
optional, hence the chown is optional.

More information about the lfs-dev mailing list