Re: hooks scripts and noexec partition

2014-12-16 Thread Jeff King
On Sun, Dec 14, 2014 at 02:44:35AM +0100, krz...@gmail.com wrote: Thanks for the patch, however it is not working (no change, hooks still dont work on noexec partition). Since I see that you are fluent in git code and C can you by any chance tell me how to modify run-command.c to make git

Re: hooks scripts and noexec partition

2014-12-13 Thread krz...@gmail.com
Thanks for the patch, however it is not working (no change, hooks still dont work on noexec partition). Since I see that you are fluent in git code and C can you by any chance tell me how to modify run-command.c to make git run hooks as: /bin/sh hook_path ? 2014-01-15 10:16 GMT+01:00 Jeff King

Re: hooks scripts and noexec partition

2014-01-15 Thread Jeff King
On Tue, Jan 14, 2014 at 04:41:03PM +0100, krz...@gmail.com wrote: git can't execute hooks no partitions mounted with noexec - even if those are just scripts with shebang line Right. Git does not know that they are shell (or other) scripts; they could be anything, and the advertised interface

hooks scripts and noexec partition

2014-01-14 Thread krz...@gmail.com
git can't execute hooks no partitions mounted with noexec - even if those are just scripts with shebang line and they actualy work by hooks/./post-comit (because I use small patch on kernel that allows running scripts that way on noexec partition) fs/exec.c //error = -EACCES; //