Fuzzy Logic wrote: > Not possible. Win32 vim uses the standard Windows APIs for creating > files. It has no knowledge of cygwin at all. It might be possible to > change cygwin's configuration, but I doubt that. > > Fuzzy > > On 8/24/07, SungHyun Nam <[EMAIL PROTECTED]> wrote: > >> Hello, >> >> If I edit a file with a win32 vim, then the file mode in >> CYGWIN is changed to 0755. >> >> Is it possible win32 vim preserves the file mode in cygwin? >> >> regards, >> -- >> namsh
If you know that you will never be creating executables (not even .bat files, bash shell scripts or perl scripts) in that directory, try chmod a-x . in that directory in Cygwin bash. I'm not sure, but I think it might influence the Cygwin permissions of files created in that directory in the future. (See "man chmod" and/or "info chmod" for details.) Best regards, Tony. -- NEIL INNES PLAYED: THE FIRST SELF-DESTRUCTIVE MONK, ROBIN'S LEAST FAVORITE MINSTREL, THE PAGE CRUSHED BY A RABBIT, THE OWNER OF A DUCK "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---