# Please make hooks installed executable either on all platforms or on no platforms at all

2 messages from 2009-02-16 to 2009-02-16. Participants: Jason Spiro, Jeff King.
Thread: https://gitlist.dev/t/17812

## Jason Spiro, 2009-02-16 02:24

Subject: Please make hooks installed executable either on all platforms or on no platforms at all
Message-ID: <loom.20090216T022127-960@post.gmane.org>
URL: https://gitlist.dev/e/loom.20090216T022127-960%40post.gmane.org

```
In http://www.cygwin.com/ml/cygwin/2007-08/msg00260.html Eric Blake pointed out 
that on Cygwin, /usr/share/git-core/templates are installed with executable 
permissions; whereas on Linux, they are installed without.  This is 
inconsistent.  Could you please make it so they are installed executable on 
*all* platforms or on *no* platforms?

Thanks,
--
Jason Spiro: software/web developer, packager, trainer, IT consultant.
I support Linux, UNIX, Windows, and more. Contact me to discuss your needs.
+1 (416) 992-3445 / www.jspiro.com

```

## Jeff King, 2009-02-16 02:40

Subject: Re: Please make hooks installed executable either on all platforms or on no platforms at all
Message-ID: <20090216024056.GA18780@sigill.intra.peff.net>
URL: https://gitlist.dev/e/20090216024056.GA18780%40sigill.intra.peff.net
In-Reply-To: <loom.20090216T022127-960@post.gmane.org>

```
On Mon, Feb 16, 2009 at 02:24:51AM +0000, Jason Spiro wrote:

> In http://www.cygwin.com/ml/cygwin/2007-08/msg00260.html Eric Blake
> pointed out that on Cygwin, /usr/share/git-core/templates are
> installed with executable permissions; whereas on Linux, they are
> installed without.  This is inconsistent.  Could you please make it so
> they are installed executable on *all* platforms or on *no* platforms?

That message is old. Templates are now always installed with the
executable bit set on all platforms, but with a '.sample' suffix. This
makes the behavior consistent whether or not the platform supports
executable bits properly.

This happened in June of 2008, and shipped in git v1.6.0.

Some discussion is here:

  http://thread.gmane.org/gmane.comp.version-control.git/86080/focus=86188

-Peff

```
