BUG: CreateFile() Opens Read-Only File with Read/Write Access
Article ID: 140020
Article Last Modified on 7/11/2005
APPLIES TO
- Microsoft Platform Software Development Kit-January 2000 Edition, when used with:
This article was previously published under Q140020
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: kbbug kbapi kbnetwork kb3rdparty kbfileio KB140020