Re: [PATCH] Adding hooks.directory config option; wiring into run_hook
- From
- Christopher Dale <chrelad@gmail.com>
- Date
- Dec 16, 2011, 18:28 UTC
- Message-ID
- <CADQnX_c=WUYgjTkXC2vNCua=6Cf7CMBBfnteBv2hE_kGH=y9UQ@mail.gmail.com>
- In-Reply-To
- <7vmxasie6k.fsf@alter.siamese.dyndns.org>
Okidokee, thanks for your feedback :)
On Fri, Dec 16, 2011 at 12:06 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> Christopher Dale <chrelad@gmail.com> writes: > >> ... >> trusted path execution policies. These systems require that any file >> that can be executed exhibit at least the following characteristics: >> >> * The executable, it's directory, and each directory above it are >> not writable. >> >> Since the hooks directory is within a directory that by it's very nature >> requires write permissions,... > > Sorry, but I am not interested at all. If you can write into $GIT_DIR/config > then you can point at any directory with hooks.directory and that would mean > it would defeat your "trusted path execution policies".