From owner-freebsd-bugs Sun Dec 17 15:40:35 2000 From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 17 15:40:32 2000 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from gateway.bogus (unknown [213.30.47.241]) by hub.freebsd.org (Postfix) with ESMTP id 6A45937B400; Sun, 17 Dec 2000 15:40:29 -0800 (PST) Received: from localhost (admin@localhost) by gateway.bogus (8.11.1/8.11.1) with ESMTP id eBHNjgR00802; Sun, 17 Dec 2000 23:45:43 GMT (envelope-from nuno.teixeira@pt-quorum.com) X-Authentication-Warning: gateway.bogus: admin owned process doing -bs Date: Sun, 17 Dec 2000 23:45:42 +0000 (WET) From: Nuno Teixeira X-Sender: admin@gateway.bogus To: freebsd-bugs@freebsd.org Cc: stable@freebsd.org Subject: chflags bug? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello to all, I'm using FreeBSD RELEASE 4.2 and I have a problem with chflags. The problem is: if I set on the 'schg' flag to a file, then I cannot remove it with the 'noschg' option. If I do the same to the 'uchg' flag then I can set it and remove it with no problems. example: #touch /tmp/flags #chflags schg /tmp/flags [OK] #chflags noschg /tmp/flags [chflags: flags: operation not permitted My problem is that I have the /.kernel with schg flag on and I can recompile and install my new kernel configuration. Thanks very much, Nuno Teixeira To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message