|
Strange file access restrictions in kernel-headers directory
Hi all,
I installed the kernel headers using "apt-get install kernel-headers-2.4.25-1-386" so that i will be able to install the proprietary nvidia drivers. it seems however that the file attributes in that kernel headers directory structure are messed up. if i go to the "/usr/src/kernel-headers-2.4.25-1-386/include/linux" directory and type "ls kernel.h", i see that kernel.h is indeed a file in that directory. however, if i type "more kernel.h", i get a message that says "kernel.h: No such file or directory." note that i am doing all of this as root, so i should have the proper permissions, right? i also tried a "chmod 777 kernel.h" and got the error "chmod: failed to get attributes of 'kernel'h': No such file or directory." what is going on here, and what can i do to rectify it? thanks for any help in advance.
now, if i do "ls -l | cut -b 57-" i find that all of the files in that directory are soft links to themselves. for example, kernel.h is "kernel.h -> ../../../kernel-headers-2.4.25-1-386/include/linux/kernel.h." what's going on?
peace.
|