From owner-freebsd-stable Thu Oct 12 19:54:55 2000 Delivered-To: freebsd-stable@freebsd.org Received: from static.unixfreak.org (static.unixfreak.org [63.198.170.139]) by hub.freebsd.org (Postfix) with ESMTP id 1DAAE37B503 for ; Thu, 12 Oct 2000 19:54:50 -0700 (PDT) Received: by static.unixfreak.org (Postfix, from userid 1000) id 5D38B1F25; Thu, 12 Oct 2000 19:54:49 -0700 (PDT) Subject: Re: installworld problem In-Reply-To: <20001013023406.91348.qmail@web9807.mail.yahoo.com> "from Dave Hummel at Oct 12, 2000 07:34:06 pm" To: Dave Hummel Date: Thu, 12 Oct 2000 19:54:49 -0700 (PDT) Cc: freebsd-stable@freebsd.org From: Dima Dorfman Reply-To: dima@unixfreak.org X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20001013025449.5D38B1F25@static.unixfreak.org> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi, > > I saw a few references but no definitive answer in the > archives. I have been cvsup'ing and making world every > day for the last 5 days and the result is always the > same: > > ln -sf libz.so.2 /usr/lib/libz.so > install -c -o root -g wheel -m 444 zlib.3.gz > /usr/share/man/man3 > ===> bin > ===> bin/cat > install -c -s -o root -g wheel -m 555 cat /bin > /usr/obj/usr/src/i386/usr/libexec/elf/strip: > /bin/stH13908: Operation not permitted It's trying to write a file to /bin. The solution is to unset the schg flag on /bin, /bin/*, /sbin, and /sbin/*, and reset them when installworld is finished. And if it's not a solution, it's a workaround with no apparent downsides (other than a bit more work). I've been doing this for quite some time. Hope this helps -- Dima Dorfman Finger dima@unixfreak.org for my public PGP key. "A problem well stated is a problem half solved." -- Charles F. Kettering To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message