On Aug 29 16:04, Tony Mechelynck wrote:
> 
> On 29/08/08 14:25, Nikola Kne??evi?? wrote:
> > Hi,
> >
> > I have a weird problem on my Mac OS X. If I mount a Linux SMB share
> > (manually, with -o noexec), and try to edit any file using either
> > plain vim or MacVim, that file gets executable bit set. I don't know
> > where to look to disable this behaviour.
> >
> > Any hints?
> >
> > Cheers,
> > Nikola
> 
> I'm not sure it _can_ be disabled. IIUC, the reason is that samba 
> usually means Windows at the other end, and typical DOS/Windows 
> filesystems (such as the variations on the FAT filesystem) have no 
> executable bit. What they have is "hidden", "system" and "readonly" (the 
> fourth one, "archive" is not really an access bit). Similarly in Cygwin, 
> all "Windows" files have their access bits set to -rwxrwxrwx, or 
> -r-xr-xr-x if they are readonly.

...on FAT.  Not necessarily on NTFS.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat

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

Raspunde prin e-mail lui