[PATCH 0/3] fix unlink/rename failure in hyper-v container(regenerate)
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Mar 20 12:12:15 GMT 2023
Hi Yoshinao,
I just pushed a patch to fs_info::update to take the filesystem
flags introduced starting with Windows 7 into account:
https://sourceware.org/cgit/newlib-cygwin/commit/?id=fcccdc4021ff
AFAICS, this patch should already fix the problem.
It's not the last state, though, because a few more tweak are necessary:
- The filesystem shows up as "cifs" rather than "ntfs" in mount.
- Creating case sensitive directories won't work.
- an upper/lowercase problem in user extended attributes.
- unlinking files-in-use is broken yet.
I intend to fix those in a followup patch.
The next cygwin test release 3.5.0-0.249.g59241913330c will contain the
above patch. Before we go ahead and apply your patch, can you test if
this already works as desired? I'd like to get this working and then we
add your workaround, in case we encounter this problem in another
scenario, too.
Thanks,
Corinna
On Mar 20 20:50, Yoshinao Muramatsu wrote:
> From: Yoshinao <ysno@ac.auone-net.jp>
>
> use real name and add `Signed-Off-By:' field, as suggested by Corinna.
> code is untouched.
>
> Yoshinao Muramatsu (3):
> fix unlink in container
> fix rename in container
> log disabling posix semantics
>
> winsup/cygwin/syscalls.cc | 23 +++++++++++++++++++++--
> 1 file changed, 21 insertions(+), 2 deletions(-)
>
> --
> 2.37.3.windows.1
More information about the Cygwin-patches
mailing list