Re: Too restrictive permissions on some files prevent non-root build (with KBUILD_OUTPUT) [bug 2669]

Date: Thu May 13 2004 - 11:17:20 EST

Pascal Schmidt wrote:
On Thu, 13 May 2004 15:30:14 +0200, you wrote in linux.kernel:

For 2.6.6 the files in question can be found by:
cd /sometempdir
tar xjf linux-2.6.6.tar.bz2
find linux-2.6.6 ! -perm -004 -exec ls -l {} \;

This can only be a problem when unpacking as root, otherwise all
files are owned by the user running tar, anyway. I guess most
people don't do their kernel work as root... and why should they?

The simple workaround is to unpack the tar archive as the user
planning to run the compile.

Well, I guess you are right, but I prefer (and usually do) a single source tree in /usr/src/linux-2.6.6 as for the kurrent kernel and then other users (i.e. non root) compile with the KBUILD_OUTPUT in other directories.


Because I compile all my kernels on a single machine (but with distcc running on 4+ boxes) and then install it on the other machines.

Even if these file permissions are note a "real bug" there is no point in only some files being non-world readable (some in the Documentation/ as well).


||///_ o *****************************
||//'_/> WWW:
|||\/<" |||\\ ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at