https://bugs.winehq.org/show_bug.cgi?id=39236
Bug ID: 39236 Summary: shell32:shlfileop fails if privileges not high enough Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: shell32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
If the user cannot write to the root of the c: drive the test fails with the following errors:
shlfileop.c:2497: Test failed: The file does not exist shlfileop.c:2499: Test failed: File is not removed, ErrorCode: 1026 shlfileop.c:94: Test failed: Failure to open file shlfileop.c:2505: Test failed: The file does not exist shlfileop.c:2507: Test failed: File is not removed, ErrorCode: 1026
In particular one can notice this bug on the following WineTest box: fg-win2000-rusr: Windows 2000 with a Restricted user account
The test should try to write its Unicode file in the temporary directory.
The test regression was introduced by this commit:
commit 1fc0cb75eebeb011a1f620fb96f32245d886916c Author: Nigel Liang ncliang@gmail.com Date: Fri Jun 8 14:25:24 2007 -0700
shell32: Conformance tests for unicode filenames and fix a bug for file deletion.
https://bugs.winehq.org/show_bug.cgi?id=39236
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
https://bugs.winehq.org/show_bug.cgi?id=39236
--- Comment #1 from François Gouget fgouget@codeweavers.com --- Sorry. The WineTest box this test fails on is in fact: fg-winxp-lusr: Windows XP with a Limited user account.
https://bugs.winehq.org/show_bug.cgi?id=39236
--- Comment #2 from François Gouget fgouget@codeweavers.com --- The TestBot does not have any non-administrator test configuration at this time, which may be why we do not see these failures anymore.
So the first step should be to add such test configurations.
https://bugs.winehq.org/show_bug.cgi?id=39236
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|shell32:shlfileop fails if |shell32:shlfileop - |privileges not high enough |test_unicode() fails if | |privileges not high enough
--- Comment #3 from François Gouget fgouget@codeweavers.com --- We still have at least one failure happening intermittently on w8adm:
shlfileop.c:2581: Test failed: The file does not exist