win32utils-devel@rubyforge.org
2004-Mar-07 20:26 UTC
[Win32utils-devel] win32-mmap problem
Hi all, Ruby 1.8.1 (hand built, not the installer) Windows 2000 I was just playing with win32-mmap. I tried running the test_server.rb and test_client.rb. I started the server, which seems to be fine, but when I run the client I get this: C:\eclipse\workspace\win32-mmap-0.1.0\test>ruby test_client.rb C:/ruby/lib/ruby/1.8/ftools.rb:23:in `initialize'': Permission denied - win32/mmap.so (Errno::EACCES) from C:/ruby/lib/ruby/1.8/ftools.rb:23:in `open'' from C:/ruby/lib/ruby/1.8/ftools.rb:23:in `syscopy'' from C:/ruby/lib/ruby/1.8/ftools.rb:43:in `copy'' from test_client.rb:10 I have admin privileges. Am I doing something wrong? Regards, Dan _________________________________________________________________ Learn how to help protect your privacy and prevent fraud online at Tech Hacks & Scams. http://special.msn.com/msnbc/techsafety.armx
win32utils-devel@rubyforge.org
2004-Mar-08 09:42 UTC
[Win32utils-devel] win32-mmap problem
> -----Original Message----- > From: win32utils-devel-bounces@rubyforge.org > [mailto:win32utils-devel-bounces@rubyforge.org] On Behalf Of > win32utils-devel@rubyforge.org > Sent: Sunday, March 07, 2004 6:15 PM > To: win32utils-devel@rubyforge.org > Subject: [Win32utils-devel] win32-mmap problem > > > Hi all, > > Ruby 1.8.1 (hand built, not the installer) > Windows 2000 > > I was just playing with win32-mmap. I tried running the > test_server.rb and > test_client.rb. I started the server, which seems to be > fine, but when I > run the client I get this: > > C:\eclipse\workspace\win32-mmap-0.1.0\test>ruby > test_client.rb C:/ruby/lib/ruby/1.8/ftools.rb:23:in > `initialize'': Permission denied - > win32/mmap.so (Errno::EACCES) > from C:/ruby/lib/ruby/1.8/ftools.rb:23:in `open'' > from C:/ruby/lib/ruby/1.8/ftools.rb:23:in `syscopy'' > from C:/ruby/lib/ruby/1.8/ftools.rb:43:in `copy'' > from test_client.rb:10 > > I have admin privileges. Am I doing something wrong? > > Regards, > > DanIt turns out this was caused by some code I added. The test_server.rb puts a lock on mmap.so, so when I was trying to copy it, the script failed. Dan