I recently installed svn app on web143. I have a post commit trigger (sh script) which calls a python program. If I ssh to server, and do ./post-commit from command line it works fine. If I do svn commit from desktop, commit is done fine but post-commit does not execute. I get following error Transmitting file data .svn: Commit failed (details follow): svn: MERGE of '/projectb': 200 OK (http://svn.<myuser>.webfactional.com) asked 20 Jul '11, 19:14 zweb |
On Web143, svn HTTP operations run as the 'apache' user, so be sure that 'apache' has permissions to do everything that your post-commit and Python scripts need to do. For example, if your script writes to a file somewhere, be sure that 'apache' has permissions to write to that file. You can grant permissions for 'apache' by setting the ACLs. We have some documentation here: Granting Access to Specific Users Hope that helps! answered 20 Jul '11, 19:31 seanf Thanks, that worked. I applied these two commands to application and the application log folder and it worked. setfacl -R -m u:secondary_username:rwx $HOME/webapps/application setfacl -R -m d:u:secondary_username:rwx $HOME/webapps/application
(20 Jul '11, 20:33)
zweb
|