From owner-freebsd-current Mon Aug 10 01:59:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA04922 for freebsd-current-outgoing; Mon, 10 Aug 1998 01:59:36 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from meta.sub.org (lance.pond.sub.org [192.129.33.126]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA04897 for ; Mon, 10 Aug 1998 01:59:24 -0700 (PDT) (envelope-from armin@meta.sub.org) Received: (from armin@localhost) by meta.sub.org (8.8.8/8.8.8) id KAA00409; Mon, 10 Aug 1998 10:59:02 +0200 (CEST) (envelope-from armin) Date: Mon, 10 Aug 1998 10:59:02 +0200 (CEST) From: Armin Arh Message-Id: <199808100859.KAA00409@meta.sub.org> To: freebsd-current@FreeBSD.ORG, jwd@unx.sas.com Subject: Re: chflags: <> Operation not permitted Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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