Date: Wed, 5 Nov 2003 15:20:18 +0300 From: Sergey 'DoubleF' Zaharchenko <doublef@tele-kom.ru> To: "David Jenkins" <dstar@nildram.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: Unable to delete empty directory /var/tmp/temproot Message-ID: <20031105152018.13974783.doublef@tele-kom.ru> In-Reply-To: <002c01c3a252$34e95230$0207a8c0@theta> References: <002c01c3a252$34e95230$0207a8c0@theta>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Mon, 3 Nov 2003 21:34:05 -0000 "David Jenkins" <dstar@nildram.co.uk> 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/qOsOwo7hT/9lVdwRAmkZAJ907fMiDYoFvKjXeQhw8vMNS2ZVLQCgglH8 1FzAxBc4tL77GJXnULI74DA= =7eEl -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031105152018.13974783.doublef>
