Tilka / sneek

UNOFFICIAL! Automatically exported from code.google.com/p/sneek
1 stars 0 forks source link

DsicEx v0.3/v0.4 fails to open files that are read-only, due to requesting Read/Write access on the file #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. dump Wii Sports disc that came with my old Wii
2. place ISO in a folder
3. set the folder to deny write access

What is the expected output?
C:\Documents and Settings\Compaq_Administrator\My Documents\My Downloads\DiscEX-
v0.4-cred>DiscEx.exe i:\temp\Readonlytest\RSPE01V1.iso
DiscEX v 0.3 by crediar
Built: 23:57:11 May  8 2010
Public Version

It is not allowed to resell, rehost, redistribute
or include this file in any packages!

GameID:RSPE01
Region:USA
MakerCode:01
Title:SPORTS PACK for REVOLUTION

What do you see instead?
C:\Documents and Settings\Compaq_Administrator\My Documents\My 
Downloads\DiscEX-v0.4-cred>DiscEx.exe i:\temp\Readonlytest\RSPE01V1.iso
DiscEX v 0.3 by crediar
Built: 23:57:11 May  8 2010
Public Version

It is not allowed to resell, rehost, redistribute
or include this file in any packages!

 Error: Can't open "i:\temp\Readonlytest\RSPE01V1.iso"

Please provide any additional information below.

I have attached a Process Monitor log in CSV format, of DiscEx, getting a 
ERROR_ACCESS_DENIED when it called CreateFile in order to get a handle on the 
file, because the dwDesiredAccess was set to (GENERIC_READ | GENERIC_WRITE)

Original issue reported on code.google.com by logan.gba on 6 Aug 2010 at 6:57

Attachments:

GoogleCodeExporter commented 9 years ago
this is not an SNEEK issue

Original comment by cred...@rypp.net on 6 Aug 2010 at 9:07