Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Aug 1998 10:59:02 +0200 (CEST)
From:      Armin Arh <armin@meta.sub.org>
To:        freebsd-current@FreeBSD.ORG, jwd@unx.sas.com
Subject:   Re: chflags: <> Operation not permitted
Message-ID:  <199808100859.KAA00409@meta.sub.org>

next in thread | raw e-mail | index | archive | help
> FreeBSD# uname -a
> FreeBSD FreeBSD.pc.sas.com 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Tue Jul 21 09:24:24 EDT 1998     root@FreeBSD.pc.sas.com:/usr/src/sys/compile/FreeBSD  i386
> FreeBSD# cd /usr/obj/usr/src/tmp/usr/lib/aout/
> FreeBSD# ls -lo libdescrypt.so.2.0
> -r--r--r--  1 bin  bin  schg 16718 Aug  8 02:53 libdescrypt.so.2.0
> FreeBSD# rm -f libdescrypt.so.2.0
> rm: libdescrypt.so.2.0: Operation not permitted
> FreeBSD# chflags noschg libdescrypt.so.2.0
> chflags: libdescrypt.so.2.0: Operation not permitted
This is normal, if your securelevel is higher then 0.
Check this out by typing:
# sysctl kern.securelevel

While booting, the securelevel is raised, depending on your
configuration (/etc/rc.conf?). Once raised, there is no chance
to lower it, or to remove the schg- flag.

Armin

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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