Re: Access denied when trying to move directory in use
- From: Corinna Vinschen <corinna@xxxxxxxxxxxxxxxx>
- Date: Wed, 14 Feb 2007 14:56:59 +0000 (UTC)
Corinna Vinschen wrote:
The open/move/delete/close works on all OSes.
The open-with-del-on-close/move/close works on all OSes, except on XP.
I tested my below attached testcase on NT4 SP6, 2000 SP4, XP SP2, 2003
SP1 and Vista. As a sanity check I tested this additionally on a very
standard XP SP2 installation in a virtual machine. The result is the
same. So, as far as my testing goes, there *is* a difference in
behaviour on XP.
As additional data points, I tested this now in WOW64 on the 64 bit
versions of XP, 2003 and Vista.
The open/move/delete/close works on all 64 bit OSes.
The open-with-del-on-close/move/close works on all 64 bit OSes, except
on XP 64.
The status code returned by ZwSetFileInformation on XP and XP 64 is in
all cases 0xC0000022, STATUS_ACCESS_DENIED.
It's really a surprise that it doesn't work in 64 bit XP, given that
it claims to have the same kernel as 2003 (OS version 5.2).
A third 32 bit XP shows the same problem, btw.
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat
.
- Follow-Ups:
- Re: Access denied when trying to move directory in use
- From: "Jeffrey Tan[MSFT]"
- Re: Access denied when trying to move directory in use
- References:
- Re: Access denied when trying to move directory in use
- From: "Jeffrey Tan[MSFT]"
- Re: Access denied when trying to move directory in use
- From: Corinna Vinschen
- Re: Access denied when trying to move directory in use
- From: "Jeffrey Tan[MSFT]"
- Re: Access denied when trying to move directory in use
- From: Corinna Vinschen
- Re: Access denied when trying to move directory in use
- Prev by Date: Re: Access denied when trying to move directory in use
- Next by Date: Re: DeleteFile does not seem to delete exe files
- Previous by thread: Re: Access denied when trying to move directory in use
- Next by thread: Re: Access denied when trying to move directory in use
- Index(es):
Relevant Pages
|