can't write to a file as non root having setuid
On RHEL 5 upadte 3, I am seeing the following issue
#chmod 06777 /newdir/file1
$dd if=/dev/null of=/newdr/file1
dd: opening '/newdir/file1': Operation not permitted
The result is same even with selinux disabled. This used to work on older releases clearing the setuid/setgid after the write. wondering whether it is an intended change or a bug.