ch6: kernel headers - chown

Greg Schafer gschafer at zip.com.au
Sun Jan 25 13:37:25 PST 2004


On Sun, Jan 25, 2004 at 10:30:01PM +0100, Florian Engelhardt wrote:
> 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 
                                        ^^^^^^^^^
??

root:~# touch /tmp/crap
root:~# chown 2000:2000 /tmp/crap
root:~# ls -l /tmp/crap
-rw-r--r--    1 2000     2000            0 Jan 26 08:35 /tmp/crap
root:~# cp -HR /tmp/crap .
root:~# ls -l crap
-rw-r--r--    1 root     root            0 Jan 26 08:35 crap



More information about the lfs-dev mailing list