Are posix permissions supported/emulated? Or are they set to 777 for all Windows drives in /mnt like shared folders in a VM?
replies(4):
When files are manipulated through the Win32 subsystem they are (normally) opened in "deny delete" mode (i.e. without passing FILE_SHARE_DELETE to CreateFile and thence to NtCreateFile). But that's Win32 programs and language runtime libraries explicitly setting the sharing mode flags that they like, not an inability of the Windows NT kernel that is below the Win32 subsystem, nor even an inability of the Win32 subsystem itself.
* https://msdn.microsoft.com/en-gb/library/windows/desktop/aa3...