From owner-freebsd-questions@FreeBSD.ORG Sat May 6 02:54:21 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B54F416A409 for ; Sat, 6 May 2006 02:54:21 +0000 (UTC) (envelope-from jpp@cloudview.com) Received: from skipjack.no-such-agency.net (skipjack.no-such-agency.net [64.142.114.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B6D643D4C for ; Sat, 6 May 2006 02:54:13 +0000 (GMT) (envelope-from jpp@cloudview.com) Received: from skipjack.no-such-agency.net (localhost [127.0.0.1]) by skipjack.no-such-agency.net (Postfix) with ESMTP id 4D15634DA1E for ; Fri, 5 May 2006 19:54:13 -0700 (PDT) Received: from [192.168.2.120] (blackhole.no-such-agency.net [64.142.103.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by skipjack.no-such-agency.net (Postfix) with ESMTP id 15C9834DA1D for ; Fri, 5 May 2006 19:54:11 -0700 (PDT) Message-ID: <445C0FCF.20106@cloudview.com> Date: Fri, 05 May 2006 19:54:07 -0700 From: John Pettitt User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-questions X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AV-Checked: by skipjack Subject: rm: Operation not permitted X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 May 2006 02:54:21 -0000 I'm having trouble erasing some files - this on a 6.1RC system (built from -STABLE) - I created a system image using his script: #!/bin/sh make buildworld KERNCONF=CLOCK make buildkernel KERNCONF=CLOCK mkdir -p /raid/diskless/clock make installworld DESTDIR=/raid/diskless/clock cd /usr/src/etc; make distribution DESTDIR=/raid/diskless/clock cd /usr/src make installkernel KERNCONF=CLOCK DESTDIR=/raid/diskless/clock and now when I try to delete it this happens ... # rm -rf clock rm: clock/bin/rcp: Operation not permitted rm: clock/bin: Directory not empty rm: clock/lib/libcrypt.so.3: Operation not permitted rm: clock/lib/libc.so.6: Operation not permitted rm: clock/lib: Directory not empty rm: clock/libexec/ld-elf.so.1: Operation not permitted rm: clock/libexec: Directory not empty rm: clock/sbin/init: Operation not permitted rm: clock/sbin: Directory not empty and so on. The system is running at securelevel -1 and the rm fails even in single user mode - what am I missing? John