From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 16:33:52 2004 Return-Path: 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 4DA8816A4CE for ; Sun, 21 Nov 2004 16:33:52 +0000 (GMT) Received: from chello084114137224.1.15.vie.surfer.at (chello084114137224.1.15.vie.surfer.at [84.114.137.224]) by mx1.FreeBSD.org (Postfix) with SMTP id C4F5E43D1D for ; Sun, 21 Nov 2004 16:33:50 +0000 (GMT) (envelope-from 4711@chello.at) Received: (qmail 6787 invoked from network); 21 Nov 2004 16:33:49 -0000 Received: from matrix010.matrix.net (192.168.123.10) by ns.matrix.net with SMTP; 21 Nov 2004 16:33:49 -0000 From: Christian Hiris <4711@chello.at> To: freebsd-questions@freebsd.org Date: Sun, 21 Nov 2004 17:33:48 +0100 User-Agent: KMail/1.7 References: <41A0BFDB.40305@locolomo.org> In-Reply-To: <41A0BFDB.40305@locolomo.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411211733.49117.4711@chello.at> Subject: Re: Can't remove files: Operation not permitted X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2004 16:33:52 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 21 November 2004 17:18, Erik Norgaard wrote: > Hi, > > I have messed around trying to set up a freebsd diskless, so to populate > a root directory i ran (FreeBSD 6.0-CURRENT) > > # cd /usr/src > # make buildworld > # make DESTDIR=/var/nclt installworld > > Now the problem is that I can't get rid of /var/nclt again, not even in > single user mode. I can't change file permissions. > > How do I clean up from this again? # cd /var/nclt # chfags -R noschg * # rm -rf * - -- Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x3BCA53BE OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBoMNt09WjGjvKU74RAv6pAJ48CTo7yADrqIYo1sEQP8O0UNBVpwCeNCmO Qc8LbXTwAmsnGxLRPitjL0Y= =gpRP -----END PGP SIGNATURE-----