On 8/24/07, Fuzzy Logic <[EMAIL PROTECTED]> 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
>
> >
>

These types of issues have been discussed before on the Cygwin mailing list.

Essentially the issue is with win32 vim only using the default file
permissions (i.e. Inherit permissions from parent) when writing the
updated file.  For the behavior you desire win32 vim would need to be
updated to track the actual NTFS permissions and restore them when
using :write.

--
Frodak

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to