[Bug 44813] New: Some applications fail when calling ntdll.NtReadFile on a directory ( expect STATUS_INVALID_DEVICE_REQUEST)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 25 06:54:40 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=44813

            Bug ID: 44813
           Summary: Some applications fail when calling ntdll.NtReadFile
                    on a directory (expect STATUS_INVALID_DEVICE_REQUEST)
           Product: Wine
           Version: 3.4
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ntdll
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

to track
https://github.com/wine-staging/wine-staging/tree/master/patches/ntdll-Status_Mapping

Unfortunately there is little information/details, I just found this:

https://wine-staging.com/news/2015-10-04-release-1.7.52.html

--- quote ---
Return STATUS_INVALID_DEVICE_REQUEST when trying to call NtReadFile on
directory (Wine Staging Bug #571)
--- quote ---

Sadly no applications are mentioned.

Some info here:

https://stackoverflow.com/questions/42662363/createfile-on-directory-in-ntfs-fails-on-readfile

--- quote ---
file system drivers (ntfs also) always return error code on IRP_MJ_READ request
for directory file. usually STATUS_INVALID_DEVICE_REQUEST or
STATUS_INVALID_PARAMETER 
--- quote ---

https://www.osronline.com/showthread.cfm?link=169533 ("ZwQueryDirectoryFile
failed with error STATUS_INVALID_DEVICE_REQUEST")

https://msdn.microsoft.com/en-us/library/cc232128.aspx ("[MS-FSCC]: File System
Control Codes")

$ wine --version
wine-3.4-

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list