From owner-freebsd-stable Thu Oct 12 20:40: 3 2000 Delivered-To: freebsd-stable@freebsd.org Received: from web9806.mail.yahoo.com (web9806.mail.yahoo.com [216.136.129.29]) by hub.freebsd.org (Postfix) with SMTP id D134237B66C for ; Thu, 12 Oct 2000 20:39:58 -0700 (PDT) Message-ID: <20001013033958.1763.qmail@web9806.mail.yahoo.com> Received: from [24.49.103.9] by web9806.mail.yahoo.com; Thu, 12 Oct 2000 20:39:58 PDT Date: Thu, 12 Oct 2000 20:39:58 -0700 (PDT) From: Dave Hummel Subject: Re: installworld problem To: dima@unixfreak.org Cc: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doh!! Why didn't I think of that? Silly me... I forgot about my own security precautions! As recommended on the security page I chflag'ed /bin and /sbin. Thanks! --- Dima Dorfman wrote: > > 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 __________________________________________________ Do You Yahoo!? Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message