From: Luca Berra <bluca@comedia.it>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] 0.9.1-beta4 install bug
Date: Mon, 12 Feb 2001 10:26:49 +0100 [thread overview]
Message-ID: <20010212102649.D18830@colombina.comedia.it> (raw)
In-Reply-To: <3A870FAB.5BA5E49@wrkhors.com>; from lembark@wrkhors.com on Sun, Feb 11, 2001 at 04:18:19PM -0600
On Sun, Feb 11, 2001 at 04:18:19PM -0600, Steven Lembark wrote:
>
> > i requote myself:
> > if you want to change the behaviour do this
> > and rerun autoconf
> > ^^^^^^^^^^^^^^^^^^
>
> oops.
>
> any reason that the install has to set the ownership & mods?
> i don't remember anything in the code that explicitly checks
> file ownership (vs euid of proc execing them), but may have
> missed something.
>
sigh,
--- LVM/kernel/Makefile.bluca.orig Mon Nov 13 01:04:57 2000
+++ LVM/kernel/Makefile Mon Feb 12 10:22:45 2001
@@ -47,7 +47,7 @@
install-module: lvm.o
rm -f $(LVM_DEST)
- install -o root -g root -m 644 lvm.o $(LVM_DEST)
+ install -m 644 lvm.o $(LVM_DEST)
rm -f /dev/lvm; mknod /dev/lvm c $(LVM_MAJOR) 0; chmod 640 /dev/lvm
remove-module: lvm.o
@@ -88,8 +88,8 @@
then \
cp -p $(KSYMS_DEST) $(KSYMS_DEST).ORG; \
fi
- install -o root -g root -m 555 $(LL_RW_BLK) $(LL_RW_BLK_DEST)
- install -o root -g root -m 555 $(KSYMS) $(KSYMS_DEST)
+ install -m 755 $(LL_RW_BLK) $(LL_RW_BLK_DEST)
+ install -m 755 $(KSYMS) $(KSYMS_DEST)
install_this: install-ll_rw_blk install-module
--- LVM/tools/man8/Makefile.in.bluca.orig Sat Jan 27 11:36:30 2001
+++ LVM/tools/man8/Makefile.in Mon Feb 12 10:21:38 2001
@@ -40,7 +40,7 @@
@for f in $(ALL_MANUALS); \
do \
rm -f $(MAN8DIR)/$$f; \
- @INSTALL@ -D -o root -g root -m 444 $$f $(MAN8DIR)/$$f; \
+ @INSTALL@ -D -m 644 $$f $(MAN8DIR)/$$f; \
done
remove-man8:
--- LVM/tools/Makefile.in.bluca.orig Sat Feb 10 13:00:50 2001
+++ LVM/tools/Makefile.in Mon Feb 12 10:20:37 2001
@@ -77,13 +77,13 @@
do \
rm -f ${sbindir}/$$f; \
@INSTALL@ -d ${sbindir}; \
- @INSTALL@ -o root -g root -m 555 -s $$f ${sbindir}/$$f; \
+ @INSTALL@ -m 755 -s $$f ${sbindir}/$$f; \
done
@for f in $(ALL_SCRIPTS); \
do \
rm -f ${sbindir}/$$f; \
@INSTALL@ -d ${sbindir}; \
- @INSTALL@ -o root -g root -m 555 $$f ${sbindir}/$$f; \
+ @INSTALL@ -m 755 $$f ${sbindir}/$$f; \
done
remove-bin: $(ALL_TARGETS) $(ALL_SCRIPTS)
--- LVM/configure.in.bluca.orig Sat Feb 10 13:00:50 2001
+++ LVM/configure.in Sun Feb 11 19:22:22 2001
@@ -74,8 +74,8 @@
statically. Default is dynamic linking], STATIC_LINK=$enableval, STATIC_LINK=no)
dnl Mess with default exec_prefix
-if [[ "x$exec_prefix" = xNONE ]];
- then exec_prefix="/";
+if [[ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ]];
+ then exec_prefix="";
fi;
dnl Checks for library functions.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
next prev parent reply other threads:[~2001-02-12 9:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-10 23:28 [linux-lvm] 0.9.1-beta4 install bug Steven Lembark
2001-02-11 14:42 ` Adalbert Michelic
2001-02-11 18:35 ` Luca Berra
2001-02-11 20:38 ` Steven Lembark
2001-02-11 21:40 ` Luca Berra
2001-02-11 22:18 ` Steven Lembark
2001-02-12 9:26 ` Luca Berra [this message]
2001-02-12 15:09 ` AJ Lewis
2001-02-12 5:42 ` Andreas Dilger
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=20010212102649.D18830@colombina.comedia.it \
--to=bluca@comedia.it \
--cc=linux-lvm@sistina.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.