Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 1997 14:13:30 -0700 (MST)
From:      Brandon Gillespie <brandon@roguetrader.com>
To:        questions@freebsd.org
Subject:   unable to rm suid binary..?
Message-ID:  <Pine.BSF.3.96.971028140927.20649A-100000@roguetrader.com>

next in thread | raw e-mail | index | archive | help
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
rm: rcp: Operation not permitted
# chmod u+w rcp
chmod: rcp: Operation not permitted
# chmod 755 rcp
chmod: rcp: Operation not permitted
# chmod u-s rcp
chmod: rcp: Operation not permitted

And so on... the filesystem is local, and is mounted rw, the directory it
is in is mod 755, I am root, etc... I've exhausted all possibilities on my
end.

For the curious... the filesystem is mounted as:

/dev/sd0s1g     /u0             ufs     rw                      2       2

Basically, it used to be a /usr partition, but I installed into a
different location and would now like to nix everything that used to be on
it, but I can't just newfs it because there are about 500MB of other files
I need...

-Brandon Gillespie




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971028140927.20649A-100000>