From: Rick Ashton Date: 2010-04-04T19:43:29+09:00 Subject: $SAFE=0 for setuid? Hi From most documentation I see that $SAFE is automatically set to 1 if you run ruby as root. However, this causes pcap that I'm using not to function (it throws a SecurityError). I need $SAFE=0 for pcap to function, however I also need to run it with root privileges for it to function, but as soon as setuid is used, $SAFE changes to 1. Is there a way to have the safety level be overridden to 0 with setuid active? Otherwise I don't see how a library like pcap can be used. Thanks -- Posted via http://www.ruby-forum.com/.