Sigh, it seems replying from Gmail on my phone culled the CC-list. Sorry about that, and here's the rest of the discussion in case someone else is interested: On Wed, Nov 20, 2013 at 1:38 PM, Andre Esser <andre.esser@xxxxxxxxxxxxx> wrote: > On 2013-11-20 12:23, Erik Faye-Lund wrote: >> On Wed, Nov 20, 2013 at 12:59 PM, Andre Esser <andre.esser@xxxxxxxxxxxxx> wrote: >>> >>> There is with POSIX extensions, and git recognises it correctly when an >>> executable file is being committed, ie the file's exec flag is set in >>> the repository. >>> >>> If that file is then however checked out to the same CIFS file system, >>> the exec flag is not set, which seems a least inconsistent. >> >> OK, in that case, core.filemode probably leads down the wrong path. In >> fact, shouldn't everything just work? I mean, normal POSIX calls >> should behave as ususal, no? Perhaps this is a Samba issue? > > We've had a look at the GIT source code (after my original post) and it > seems that after GIT identifies the file system as CIFS, it doesn't even > try to set the x-flag. Given POSIX extensions have been around for years > it would probably be a good idea to change GIT's behaviour. But I'm no > developer and we don't have the spare manpower in the company to look > into this any deeper. > > Thanks for your replies though! > > Andre -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html