world writable SUID files drop suid bit on append?
Hi,
I have here a world writable suid file owned by root.
However it seems to drop the suid bit after I (an ordinary user on the system) try to append anything to it. (The ownership does not change... only the suid bit is gone).
I tried to append to this file:-
system$ rwsrwsrwx 1 root root 52 Mar 12 19:52 tempfile
it becomes:-
system$ -rwxrwxrwx 1 root root 52 Mar 12 19:52 tempfile
is there a cure?
Thanks
Last edited by c_coder; 03-12-2004 at 04:07 AM.
|