Sweden-Number/dlls/kernel32/tests
Dmitry Timoshkov c26b6afad3 kernel32: CreateDirectory shouldn't return ERROR_ACCESS_DENIED for the root of the drive.
According to the testbot results CreateDirectory("C:\\", NULL) fails
with ERROR_ACCESS_DENIED for not administrators. However with UAC enabled
and not and administrator account I get ERROR_ALREADY_EXISTS in that case
with Windows 7 64-bit running on real hardware. Moreover, Wine doesn't
really perform any access checks in that case and blindly assumes that
returning STATUS_ACCESS_DENIED is correct behaviour for the drive's root:
dlls/ntdll/directory.c,lookup_unix_name().

This patch fixes an application that can't find its data files because
after it receives ERROR_ACCESS_DENIED it stops further directory traversing.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-28 17:42:23 +01:00
..
Makefile.in
actctx.c
atom.c
change.c
codepage.c
comm.c
console.c
debugger.c
directory.c kernel32: CreateDirectory shouldn't return ERROR_ACCESS_DENIED for the root of the drive. 2018-12-28 17:42:23 +01:00
drive.c
dummy.c
dummy.spec
environ.c
fiber.c
file.c kernel32: Ignore FileIoPriorityHintInfo in SetFileInformationByHandle(). 2018-11-20 16:26:04 +01:00
format_msg.c
generated.c
heap.c
loader.c
locale.c
mailslot.c
module.c
path.c
pipe.c
process.c
profile.c
resource.c
resource.rc
sync.c
thread.c kernel32/tests: Fix typos in ok() messages. 2018-11-29 15:55:17 +01:00
time.c
timer.c
toolhelp.c
version.c
virtual.c
volume.c mountmgr: Add IOCTL_STORAGE_QUERY_PROPERTY stub. 2018-11-20 16:26:04 +01:00