Date: Mon, 10 Jan 2000 14:14:25 -0500 (EST) From: Agent Drek <drek@MonsterByMistake.Com> To: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: rm suid file? Message-ID: <Pine.LNX.4.10.10001101354170.25947-100000@jazz.monsterbymistake.com>
index | next in thread | raw e-mail
I don't understand something about file permissions ... and cannot
find anything in the man pages so far. Here's the gist of what I was
doing.
hiphop# pwd
/
hiphop# mkdir foo
hiphop# cp -p bin/rcp foo/
cp: foo/rcp: Operation not permitted
hiphop# ls -l foo/*
-r-sr-xr-x 1 root wheel 208536 Jan 7 20:37 foo/rcp
hiphop# rm foo/rcp
override r-sr-xr-x root/wheel schg for foo/rcp? y
rm: foo/rcp: Operation not permitted
hiphop# !l
ls -l foo/*
-r-sr-xr-x 1 root wheel 208536 Jan 7 20:37 foo/rcp
hiphop# whoami
root
drwxr-xr-x 2 root wheel 512 Jan 10 12:41 test
hiphop# uname -a
FreeBSD hiphop.monsterbymistake.com 3.4-STABLE FreeBSD 3.4-STABLE #5: Fri Jan 7 20:51:51 EST 2000 root@hiphop.monsterbymistake.com:/usr/src/sys/compile/HIPHOP i386
hiphop#
What don't I understand?
thanks,
=derek
Monster By Mistake Inc > 'digital plumber'
http://www.interlog.com/~drek
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10001101354170.25947-100000>
