Sweden-Number/dlls/kernel32
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
..
nls
tests kernel32: CreateDirectory shouldn't return ERROR_ACCESS_DENIED for the root of the drive. 2018-12-28 17:42:23 +01:00
Makefile.in
actctx.c
atom.c
change.c
comm.c
computername.c
console.c
console_private.h
cpu.c kernel32: Add stub case for ARM64 in GetSystemInfo. 2018-11-19 22:42:41 +01:00
debugger.c
editline.c
environ.c
except.c
fiber.c
file.c kernel32: Ignore FileIoPriorityHintInfo in SetFileInformationByHandle(). 2018-11-20 16:26:04 +01:00
format_msg.c
heap.c
kernel32.spec kernel32: Implement GetCurrentThreadStackLimits. 2018-11-26 16:41:47 +01:00
kernel_main.c
kernel_private.h
lcformat.c
locale.c kernel32: Implement FindStringOrdinal. 2018-10-30 10:53:50 +01:00
locale_rc.rc
lzexpand.c
module.c
nameprep.c
oldconfig.c
path.c
powermgnt.c
process.c makefiles: Create 64-bit wine loader symlinks in the WoW64 build tree. 2018-11-26 14:21:29 +01:00
profile.c
resource.c
string.c
sync.c kernel32: Wait on pipe handle in TransactNamedPipe if needed. 2018-10-30 19:00:35 +01:00
tape.c
term.c
thread.c kernel32: Implement GetCurrentThreadStackLimits. 2018-11-26 16:41:47 +01:00
time.c kernel32: Use Rtl function when the time zone name is useless. 2018-12-17 22:35:22 +01:00
toolhelp.c
version.c
version.rc
virtual.c
volume.c
wer.c
winerror.mc