mercurial and cygwin permissions
Matt Mackall
mpm at selenic.com
Thu Oct 18 22:36:36 UTC 2012
On Fri, 2012-10-19 at 00:23 +0200, Mads Kiilerich wrote:
> Mojmír Svoboda wrote, On 10/18/2012 04:32 PM:
> > Hello Everybody,
> >
> > I wonder why Mercurial sets +x bit on my files? Imho when
> > commiting, or merging I'm not sure exactly.
> > I always change them back to rw-rw-r-- and the +x pops
> > back every time.
> > But why? And what to do about that?
> >
> > I am working on CYGWIN_NT-6.1-WOW64 and use Mercurial from
> > Tortoisehg, not the one from Cygwin. Or perhaps it's a
> > question for TortoiseHg developpers?
>
> It would be better if could describe the problem interms of pure
> Mercurial when posting to this list and post TortoiseHg questions to
> their list. But in this case I am sure you would see the same when using
> plain Mercurial.
>
> Windows do not have execute bits and Mercurial do not set execute bits
> on windows. What you see as execute bit is probably cygwins
> interpretation of windows ACLs. Know your shell.
Related:
http://cygwin.com/cygwin-ug-net/ntsec.html
http://bz.selenic.com/show_bug.cgi?id=3302
http://selenic.com/repo/hg/rev/95e45abe7e8e
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list