From: Rob Rypka Date: 2005-09-18T06:10:54+09:00 Subject: Re: $SAFE >= 2 ------=_Part_6236_17462938.1126991451546 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9/17/05, Mark Volkmann wrote: >=20 > On 9/17/05, Rob Rypka wrote: > > Later down, they > > refer to it also as "world writable," a term you might be familiar with= . >=20 > Ah, if I had seen that it would have helped. What page do you see that on= ? I'm not really sure which page, my Pick Axe book is currently at work.=20 However, I saw it on the free online version: http://www.rubycentral.com/book/taint.html The details about safe modes are at the very end of the page. I tried the following under Windows and Ruby didn't complain. >=20 > $SAFE =3D 2 > load 'moreCode.rb' # just contains a puts >=20 > Shouldn't it have complained? >=20 If you're running XP, you've probably got an NTFS filesystem, which does=20 have permissions capabilities. However, you're right. I have a FAT partition on my windows machine, and it= =20 happily loads a file from it when $SAFE =3D 2. Again, I'm not an expert on Windows filesystems, or how Ruby handles them..= .=20 Someone else should jump in and explain this :-). Rob ------=_Part_6236_17462938.1126991451546--