Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 1995 19:00:15 -0400 (EDT)
From:      "Jonathan M. Bresler" <jmb@kryten.Atinc.COM>
To:        -Vince- <vince@apollo.COSC.GOV>
Cc:        J Wunsch <j@uriah.heep.sax.de>, FreeBSD-hackers@freefall.freebsd.org
Subject:   Re: can't delete chfn
Message-ID:  <Pine.3.89.9509271830.B9363-0100000@kryten.atinc.com>
In-Reply-To: <Pine.BSF.3.91.950927160149.311F-100000@apollo.COSC.GOV>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.3.89.9509271830.B9363-0100000>