Hello Arthur, Thank you for contacting VisualSVN Team. > I've written a pretty straightforward post-commit hook -- every time certain > branches of my repository receive commits, it does an svn update to working > copy residing on a server, so the server always gets our latest changes. > > Well, that's what it should do. If I run the script by hand, rather than > letting it run as a result of a post-commit, it works fine. But the > post-commit fails. > > The hook script itself is a perl script called by the post-commit hook, and > I get this error message: Inappropriate I/O control operation, which is not > very useful. > > I'm guessing that it's a permissions issue -- when I run the script as me, I > can update the working copy, and I can update the working copy by just doing > an svn update there. > > Thoughts?
Hooks are executed under the same user account which runs VisualSVN Server service ("Network Service" account by default). Please check the service account permissions. I.e. verify that the service account has the permissions to access all paths the hook attempts to touch. Note that the "Network Service" account acts as the *computer* on the network, so if your script accesses resources on a network you should grant access to the COMPUTER ACCOUNT of the machine where VisualSVN Server is installed. We will await your reply. -- With best regards, Pavel Lyalyakin VisualSVN Team -- You received this message because you are subscribed to the Google Groups "VisualSVN" group. To post to this group, send email to visualsvn@googlegroups.com. To unsubscribe from this group, send email to visualsvn+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/visualsvn?hl=en. For more options, visit https://groups.google.com/groups/opt_out.