Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 1997 21:19:04 +0930
From:      Mike Smith <mike@smith.net.au>
To:        Bob Bishop <rb@gid.co.uk>
Cc:        current@FreeBSD.ORG, Simon Shapiro <Shimon@i-Connect.Net>, Randy DuCharme <randyd@nconnect.net>
Subject:   Re: Make world failure 
Message-ID:  <199709281149.VAA05954@word.smith.net.au>
In-Reply-To: Your message of "Sun, 28 Sep 1997 11:33:56 %2B0100." <l03020902b053de92bb3e@[194.32.164.2]> 

index | next in thread | previous in thread | raw e-mail

> 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




home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709281149.VAA05954>