Is Hooks runs in a server context ?

satheesh
satheesh
Hi,  Am using Svnserve in my windows machine.  i have used some file read & write operation in my post-commit.exe ...   Is Subversion hooks runs in a server context ? or client context ?  If it is client content, Is any permission problems occur during file read & write in post-commit.exe ?   Thanks in advance.

Last updated

dextrous
dextrous
It runs in server context and in the context of user who owns the svn server process.
andyl
andyl
satheesh;124306Hi,    Am using Svnserve in my windows machine.    i have used some file read & write operation in my post-commit.exe ...    Is Subversion hooks runs in a server context ? or client context ?    If it is client content, Is any permission problems occur during file read & write in post-commit.exe ?      Thanks in advance.
   Hooks run on the server, under the user account that the service is running, with an empty environment (%PATH% is empty, for example).    As with everything else, it's documented in the manual. http://svnbook.red-bean.com/en/1.7/svn.reposadmin.create.html#svn.reposadmin.create.hooks

1-3 of 3

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.