Microsoft KB Archive/140020

{|
 * width="100%"|

BUG: CreateFile Opens Read-Only File with Read/Write Access

 * }

Q140020

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK), used with:
 * Microsoft Windows 95

-

SYMPTOMS
A Win32 application calls CreateFile with GENERIC_READ and GENERIC_WRITE to open an existing file on a Novell Netware server. On the server, this file has read-only access permission set. The call to CreateFile is successful but attempts to write to the file fail.

STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION
The information in this article is applicable only to the Microsoft Client for Netware for Windows 95 and occurs only when opening files that reside on Novell Netware servers. In the previously described scenario, the call to CreateFile should fail with error 5L (ERRROR_ACCESS_DENIED), as it does on Windows NT.

Additional query words:

Keywords : kb3rdparty kbnetwork kbAPI kbFileIO kbSDKPlatform kbOSWin95bug kbGrpDSNet

Issue type : kbbug

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch