[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Re: Update working copy from hook script

From: Tyler <tyler.badorrek_at_ngc.com>
Date: Thu, 5 Nov 2009 13:27:32 -0800 (PST)

Is the user you're referring to the same as the svn author? I did a svnlook author command and it returns the same as when i execute from the command line.

Otherwise, I'm not really sure where to look to change file permissions. SVN is being run by Apache on a Win2k server.

> > I'm trying to update a working copy by having svn update executed
> > during a post-commit script after the repo has been committed to by
> > another wc. I have a script that executes svn update, but it only
> > works when I run it directly in the command line. It gets an error
> > and stops when the hook script is called automatically by svn. I'm
> > executing "SVNPATH/svn update fullPathToWC" but I'm not sure why it
> > only works from command line.
>
>
> It's probably filesystem permissions. The hook runs as the user the
> server is running as and that user must have read/write access to the
> wc path being updated and EVERYTHING within it. Check your permissions.
>
> --
> Jeremy Whitlock
> http://www.thoughtspark.org

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2414924

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-05 22:28:26 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.