[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: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 02 Dec 2015 20:07:04 +0000

foven <effoven_at_gmail.com> writes:

> On Wed, Dec 2, 2015 at 11:28 AM, <jblist_at_icloud.com> wrote:
>
>>
>> > 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.

The ssh user also need read access to the parent hooks/ directory.

-- 
Philip Martin
WANdisco
Received on 2015-12-02 21:07:23 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.