From: Stephen Hemminger <shemminger@osdl.org>
To: Linus Torvalds <torvalds@osdl.org>, "Randy.Dunlap" <rddunlap@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] ikconfig - resolve rebuild permissions
Date: Thu, 4 Sep 2003 11:31:33 -0700 [thread overview]
Message-ID: <20030904113133.3f950a51.shemminger@osdl.org> (raw)
If ikconfig is enabled then the following annoying permission
problem happens.
$ make
$ su
# make install
$ make
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
CHK include/linux/compile.h
CC kernel/configs.o
mv: overwrite `kernel/configs.o', overriding mode 0644?
This patch fixes it by removing the configs.o file when
needed.
It applies against 2.6.0-test4 but is also needed even with the
ikconfig patch already in -mm5
diff -Nru a/kernel/Makefile b/kernel/Makefile
--- a/kernel/Makefile Thu Sep 4 10:33:49 2003
+++ b/kernel/Makefile Thu Sep 4 10:33:49 2003
@@ -36,5 +36,6 @@
$(obj)/ikconfig.h: scripts/mkconfigs .config Makefile FORCE
$(call if_changed,ikconfig)
+ @rm -f $(obj)/configs.o
$(obj)/configs.o: $(obj)/ikconfig.h
next reply other threads:[~2003-09-04 18:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-04 18:31 Stephen Hemminger [this message]
2003-09-04 19:13 ` [PATCH] ikconfig - resolve rebuild permissions Sam Ravnborg
2003-09-05 1:08 ` Randy.Dunlap
2003-09-05 1:22 ` Randy.Dunlap
2003-09-05 1:48 ` Randy.Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030904113133.3f950a51.shemminger@osdl.org \
--to=shemminger@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rddunlap@osdl.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).