c26b6afad3
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> |
||
---|---|---|
.. | ||
nls | ||
tests | ||
Makefile.in | ||
actctx.c | ||
atom.c | ||
change.c | ||
comm.c | ||
computername.c | ||
console.c | ||
console_private.h | ||
cpu.c | ||
debugger.c | ||
editline.c | ||
environ.c | ||
except.c | ||
fiber.c | ||
file.c | ||
format_msg.c | ||
heap.c | ||
kernel32.spec | ||
kernel_main.c | ||
kernel_private.h | ||
lcformat.c | ||
locale.c | ||
locale_rc.rc | ||
lzexpand.c | ||
module.c | ||
nameprep.c | ||
oldconfig.c | ||
path.c | ||
powermgnt.c | ||
process.c | ||
profile.c | ||
resource.c | ||
string.c | ||
sync.c | ||
tape.c | ||
term.c | ||
thread.c | ||
time.c | ||
toolhelp.c | ||
version.c | ||
version.rc | ||
virtual.c | ||
volume.c | ||
wer.c | ||
winerror.mc |