From owner-freebsd-current Sun Sep 28 04:53:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA27417 for current-outgoing; Sun, 28 Sep 1997 04:53:05 -0700 (PDT) Received: from word.smith.net.au (ppp20.portal.net.au [202.12.71.120]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA27406 for ; Sun, 28 Sep 1997 04:52:45 -0700 (PDT) Received: from word.smith.net.au (localhost.smith.net.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id VAA05954; Sun, 28 Sep 1997 21:19:06 +0930 (CST) Message-Id: <199709281149.VAA05954@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Bob Bishop cc: current@FreeBSD.ORG, Simon Shapiro , Randy DuCharme Subject: Re: Make world failure In-reply-to: Your message of "Sun, 28 Sep 1997 11:33:56 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 28 Sep 1997 21:19:04 +0930 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Actually, I cd to /usr/obj and rm -rf *. It refuses to remove several leaf > files, citing "Operation not permitted" (errno 1 I assume). But I'm root! > > As it happens, I keep /usr/obj on a separate filesystem connected up by a > symlink. So I unmount the sucker, clri these odd files, fsck the thing back > to normal, remount and do the rm -rf. It's normally much easier just to 'chflags -R nochg /usr/obj', as there are several objects (eg. libc) that are installed in the temporary build area with the system-immutable flag set. > This is where it gets interesting: the build still fails in exactly the > same way. There are no unremovable files below /usr/obj now, but this time > I blow away the directory which is the target of my /usr/obj symlink as > well as points south (and remake the directory, of course). Now everything > works. Wierd or what? Sounds like your symlink target's permissions were "unhappy". Yes weird, but hard to actually debug once you've deleted it all. mike