On Tue, 3 Aug 2004, Timothy Murphy wrote:
Robert P. J. Day wrote:
to the previous post re: building a kernel, the most important information to remember is to move the kernel source out from under that silly /usr/src/linux directory and (if you have the room) to somewhere under your home directory.
Why? This strikes me as completely unnecessary.
If you download the kernel source, eg from www.kernel.org, it will un-tar in /usr/src/linux-2.6.7 or whatever. You can change the ownership of this directory to yourself if you wish. (I always do.)
simply because there's little reason for any regular user to be doing work anywhere under the /usr directory. it goes back to my point about being able to mount /usr readonly, if you can make that work.
the same logic applies to customizing your session so you can build RPMS under your home directory. there's little reason to keep working under /usr if you don't have to.
rday
p.s. your suggestion above implies that you have the ability to change the perms on that directory. as a regular user, you can always download kernel tarballs, unload them and play with them under your home directory, with no root privilege whatever.