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

Permissions of post-commit hook

From: Stefan Franck <franck_at_informatik.uni-freiburg.de>
Date: 2004-09-21 11:28:17 CEST


I have a post-commit script which checks out any www-resources commited
into the repository on the web server. The script works fine as long as
daemon (the executor) has writing permissions on the web server. Since
this is quite unsafe, I wanted to use SGID. Thus the script always runs
with my group, having perms to write on the webserver but the daemon
itself does not.
The problem is that by adding the SGID flag to the script, it won't be
executed anymore. Any ideas why that happens, and how the problem could
be solved?

Thanks a lot,

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 21 11:28:44 2004

This is an archived mail posted to the Subversion Users mailing list.