On 2010-07-26 03:32 +0200, Curt Howland wrote: > Well, I've run into another problem with the compile that folks might > find interesting. > > All while running as the only user account on this machine (other than > root), I ran into a very interesting permissions error at the end of > the "make-kpkg kernel_image" process. I did the compile as root > successfully after seeing this error the first time, just to see if it > was user related, and the compile completed successfully. > > In fact, I'm running 2.6.35-rc6 right now, no problems. > > But I erased the directory and un-tarred the generic kernel source > again just to be sure, and received the same permission error again. > I'm just not sure if this is a debian "make-kpkg" error or not...
You need to install the fakeroot package to build Debian packages as an ordinary user. In Squeeze, dpkg-dev recommends fakeroot for that reason. > install: cannot change owner and permissions of > `/usr/src/linux-2.6.35-rc6/debian/linux-image-2.6.35-rc6-curt.02/etc/kernel/postinst.d': > Operation not permitted What fakeroot does is to install a wrapper around chown and other system calls to pretend they succeeded. It also starts a daemon that remembers the new owner, so that the files are actually owned by that user (usually root) when the package is created. Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/871vaqn8sl....@turtle.gmx.de