ch6: kernel headers - chown

Florian Engelhardt f.engelhardt at
Sun Jan 25 13:30:01 PST 2004

Greg Schafer wrote:

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

That's exactly what I'm talking about.

> No problem.

Big problem. The unpacked kernel sources have a uid/gid of 573. When we 
copy the kernel headers to /usr/include ('cp -HR include/asm 
/usr/include' etc.), the ownership is preserved, i.e. files with uid/gid 
573 end up in /usr/include.

More information about the lfs-dev mailing list