ln1sub01 gtroccol> ./foo + cd + rm -rf repo test-repo + mkdir repo + svnadmin create /home/gtroccol/repo/test-repo + echo #!/bin/ksh exit 0 + > /home/gtroccol/repo/test-repo/hooks/pre-lock + chmod 777 /home/gtroccol/repo/test-repo/hooks/pre-lock + echo #!/bin/ksh exit 1 + > /home/gtroccol/repo/test-repo/hooks/post-lock + chmod 777 /home/gtroccol/repo/test-repo/hooks/post-lock + svn co file:///home/gtroccol/repo/test-repo /home/gtroccol/test-repo Checked out revision 0. + cd /home/gtroccol/test-repo + echo Old file + > file + svn add file A file + svn ps svn:needs-lock yes file property 'svn:needs-lock' set on 'file' + svn ci -mAdding file Adding file Transmitting file data . Committed revision 1. + svn lock file svn: Lock succeeded, but post-lock hook failed svn: 'post-lock' hook failed; no error output available + svn st -u -q O 1 file Status against revision: 1 + ls -FC -l file -r--r--r-- 1 gtroccol users 9 Jun 23 14:57 file + echo New line + >> file ./foo[41]: cannot create file: Permission denied + svn st -u -q O 1 file Status against revision: 1 ln1sub01 gtroccol>