[Win32utils-devel] win32-mmap problem

win32utils-devel at rubyforge.org win32utils-devel at rubyforge.org
Mon Mar 8 08:28:52 EST 2004


> -----Original Message-----
> From: win32utils-devel-bounces at rubyforge.org 
> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of 
> win32utils-devel at rubyforge.org
> Sent: Sunday, March 07, 2004 6:15 PM
> To: win32utils-devel at 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,
> 
> Dan

It 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



More information about the win32utils-devel mailing list