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

Post commit hook on linux.

From: Bill Williams <billwilliams_at_qcsoftware.com>
Date: 2006-02-08 15:15:03 CET

I realize this is probably more a linux thing than subversion, but I'm
baffled.

I am running svnserve as a daemon on a linux computer. It is running as
user "svn". I accomplished this by making svn the owner of svnserve and
then doing a "chmod a+s svnserve" so when its executed, svn is who is
doing it.

Anyway, I have a post-commit hook which is suppose to update a special
workspace whenever someone commits something. This works; however, the
files that are updated have "root" as the owner instead of "svn". Since
svn is the user executing the process (I verified this with a ps
command), I would assume svn would be executing the post-commit hook and
therefore, any commands within the hook. I want svn to be the owner of
these files. Does anyone have any ideas?

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 8 15:17:30 2006

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.