From owner-freebsd-questions@FreeBSD.ORG Wed Nov 5 04:28:04 2003 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 7A9F516A4CE for ; Wed, 5 Nov 2003 04:28:04 -0800 (PST) Received: from mx.tele-kom.ru (mx.tele-kom.ru [213.80.148.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 514A843F85 for ; Wed, 5 Nov 2003 04:28:02 -0800 (PST) (envelope-from doublef@tele-kom.ru) Received: (qmail 58949 invoked by uid 555); 5 Nov 2003 15:27:56 +0300 Received: from hal.localdomain (213.80.149.221) by t-k.ru with TeleMail/2 id 1068035275-58928 for dstar@nildram.co.uk; Wed, Nov 5 15:27:55 2003 +0300 (MSK) Date: Wed, 5 Nov 2003 15:20:18 +0300 From: Sergey 'DoubleF' Zaharchenko To: "David Jenkins" Message-Id: <20031105152018.13974783.doublef@tele-kom.ru> In-Reply-To: <002c01c3a252$34e95230$0207a8c0@theta> References: <002c01c3a252$34e95230$0207a8c0@theta> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Wed__5_Nov_2003_15_20_18_+0300_LJjamx_z_AuEn/EY" cc: freebsd-questions@freebsd.org Subject: Re: Unable to delete empty directory /var/tmp/temproot 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: Wed, 05 Nov 2003 12:28:04 -0000 --Signature=_Wed__5_Nov_2003_15_20_18_+0300_LJjamx_z_AuEn/EY Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Mon, 3 Nov 2003 21:34:05 -0000 "David Jenkins" probably wrote: > >On Mon, 3 Nov 2003, David Jenkins wrote: > > > > >I have also tried: > > > > # chflags noschg empty/ > > chflags: empty/: Operation not permitted > > chflags: empty/: Operation not permitted > > > > # chmod -R 0700 empty/ > > chmod: empty/: Operation not permitted > > > > Please could someone point me in the right direction with this. > > > > > >You raised the security level. Immutable flag can't be removed if > >securelevel > 0. > > >Boot into single user mode, then chflags noschg empty/ > > > > Fer > > I booted to single user mode from the boot prompt, but was unable to do > anything inside var because there were no directories there!? You should have mounted it (and /usr, where chflags lives). Even better, do a # mount -a > So, I booted to full mode then did > > # init 1 > > Here, I tried as you suggested but yet again I got the same error. > > Also, when I boot up I have kern_securelevel="0" set in my rc.conf, > which is not > 0 It will be set to 1 when going multiuser. Make it "-1" to prevent that. -- DoubleF "Man invented language to satisfy his deep need to complain." -- Lily Tomlin --Signature=_Wed__5_Nov_2003_15_20_18_+0300_LJjamx_z_AuEn/EY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/qOsOwo7hT/9lVdwRAmkZAJ907fMiDYoFvKjXeQhw8vMNS2ZVLQCgglH8 1FzAxBc4tL77GJXnULI74DA= =7eEl -----END PGP SIGNATURE----- --Signature=_Wed__5_Nov_2003_15_20_18_+0300_LJjamx_z_AuEn/EY--