[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

From: <jblist_at_icloud.com>
Date: Wed, 02 Dec 2015 09:28:36 -0700

> On Dec 2, 2015, at 9:11 AM, foven <effoven_at_gmail.com> wrote:
>
> Thanks for the reply.
>
> If the user running the script just needs to have read and execute
> permission, then if the file has permissions like this:
>
> -rwxr-xr-x 1 phd phd 37 Nov 18 14:39 pre-commit
>
> shouldn't it work no matter who the user running the script is?
>
> That is how the permissions have been set on the script all this time,
> but although the file:// protocol works, svn+ssh:// has always given
> the error message being discussed.

Those permissions are correct and should allow the script to run for all users of the system.

If file: is working and svn+ssh is not, perhaps you can look into the system log to see if sshd is complaining about something.

svn+ssh is essentially the same as file but with a network layer on top.

-Joseph
Received on 2015-12-02 17:29:03 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.