When I modify files with cygwin's vim, they become inaccessible. It seems the permissions are getting changed when I save the file. Any idea why this is happening? This does not happen from a bash shell, only when I directly launch vim from a windows cmd.exe window. See below.
D:\ver Microsoft Windows [Version 6.0.6000] D:\>where vim.exe c:\cygwin\bin\vim.exe d:\>echo t > test d:\>attrib test A D:\test d:\>icacls test test BUILTIN\Administrators:(I)(F) NT AUTHORITY\SYSTEM:(I)(F) NT AUTHORITY\Authenticated Users:(I)(M) BUILTIN\Users:(I)(RX) Successfully processed 1 files; Failed processing 0 files d:\vim test [Add a characted and save :wq!] d:\>more test Cannot access file D:\test d:\>attrib test A R D:\test d:\>icacls test test DOMAIN\rjordan:(D,Rc,WDAC,WO,WEA,WA) DOMAIN\Domain Users:(Rc,REA,RA) Everyone:(Rc,REA,RA) Successfully processed 1 files; Failed processing 0 files -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/