Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 1997 15:59:46 -0600
From:      Jonathan Lemon <jlemon@americantv.com>
To:        Brandon Gillespie <brandon@roguetrader.com>
Cc:        questions@freebsd.org
Subject:   Re: unable to rm suid binary..?
Message-ID:  <19971028155946.50910@right.PCS>
In-Reply-To: <Pine.BSF.3.96.971028140927.20649A-100000@roguetrader.com>; from Brandon Gillespie on Oct 10, 1997 at 02:13:30PM -0700
References:  <Pine.BSF.3.96.971028140927.20649A-100000@roguetrader.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 10, 1997 at 02:13:30PM -0700, Brandon Gillespie wrote:
> I am unable to remove an SUID binary, howcome?  Specifically...
> 
> -r-sr-xr-x  1 root  bin  196608 Jul  9 19:56 rcp*
> # rm rcp
> override r-sr-xr-x  root/bin schg for rcp? y

It's not that the binary is SUID, it's that the ``immutable'' (schg) flag
is set.  You'll need to turn off this flag first:

	chflags noschg rcp
--
Jonathan



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