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

ID: Q140020


The information in this article applies to:


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.


Keywords          : kb3rdparty kbnetwork kbAPI kbFileIO kbSDKPlatform kbWinOS95bug kbGrpNet 
Version           : 
Platform          : 
Issue type        : kbbug 

Last Reviewed: March 6, 1999