Re: Invalid request code when removing files

2020-05-05 Thread David Macek via Cygwin
I would ask about your Cygwin and Windows versions, but unless you're running an Insiders build, I don't think WSL is supposed to be this broken. Are you by any chance running a third-party antivirus or security suite or some uncommon driver, file system software? Consult the

Re: Invalid request code when removing files

2020-05-05 Thread Sean Baker via Cygwin
strace shows this failure: 68 368896 [main] rm 1823 _unlink_nt: Trying to delete \??\C:\Test\test, isdir = 0 458 369354 [main] rm 1823 _unlink_nt: \??\C:\Test\test, return status = 0xC002 70 369424 [main] rm 1823 seterrno_from_nt_status:

Invalid request code when removing files

2020-05-02 Thread Sean Baker via Cygwin
I just installed Cygwin on a new Windows 10 machine. I am getting an error "Invalid request code" whenever I try to remove a file. Every other file operation that I have tested so far seems to work fine. Using a Windows CMD prompt, I can remove the file with the normal windows DEL command.