From owner-freebsd-hackers Wed Sep 27 16:13:43 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA17994 for hackers-outgoing; Wed, 27 Sep 1995 16:13:43 -0700 Received: from kryten.atinc.com (kryten.Atinc.COM [198.138.38.7]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA17977 for ; Wed, 27 Sep 1995 16:13:39 -0700 Received: (jmb@localhost) by kryten.atinc.com (8.6.9/8.3) id TAA11150; Wed, 27 Sep 1995 19:00:16 -0400 Date: Wed, 27 Sep 1995 19:00:15 -0400 (EDT) From: "Jonathan M. Bresler" Subject: Re: can't delete chfn To: -Vince- cc: J Wunsch , FreeBSD-hackers@freefall.freebsd.org In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.org Precedence: bulk On Wed, 27 Sep 1995, -Vince- wrote: > I just did alias dir ls -lo and here's the output: > > root@apollo [3:58pm][/usr/bin] >> dir chfn > -r-sr-xr-x 1 root bin schg 20480 Jul 26 07:57 chfn ^^^^ schg prevents you from replacing the file. the same should be true of your kernel. do a 'chflags noschg /usr/bin/chfn' from man chflags: Flags are a comma separated list of keywords. The following keywords are currently defined: arch set the archived flag (super-user only) dump set the dump flag sappnd set the system append-only flag (super-user only) schg set the system immutable flag (super-user only) uappnd set the user append-only flag (owner or super-user only) uchg set the user immutable flag (owner or super-user only) archived, sappend, schange, simmutable, uappend, uchange, uimmutable aliases for the above > root@apollo [3:58pm][/usr/bin] >> > > Any ideas what I can do to delete chfn so I can install the > updated one? Thanks! > > Cheers, > -Vince- vince@apollo.COSC.GOV - GUS Mailing Lists Admin > UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) > Chabot Observatory & Science Center > Running FreeBSD - Real UN*X for Free! > > > > Jonathan M. Bresler jmb@kryten.atinc.com | Analysis & Technology, Inc. FreeBSD Postmaster jmb@FreeBSD.Org | 2341 Jeff Davis Hwy play go. | Arlington, VA 22202 ride bike. hack FreeBSD.--ah the good life | 703-418-2800 x346