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

Re: Confining hook execution

From: Justin Erenkrantz <jerenkrantz_at_apache.org>
Date: 2002-08-11 00:35:49 CEST

On Wed, Aug 07, 2002 at 10:02:24PM -0400, Sergey A. Lipnevich wrote:
> a) Wait until perchild MPM stabilizes (an hour ago, it was still broken,
> just tried building again, from the start get a lot of errors "[emerg]
> (13)Permission denied: apr_proc_mutex_lock failed. Attempting to
> shutdown process gracefully." and the same for ..._unlock), and run each
> repository under separate user id;

Well, no one has stepped up to support perchild MPM, so it is just
sitting there and will sit there until someone wants it to work.

> Why am I afraid of my own hook scripts? Because I'd like to allow over

I would suggest a better solution would be to have your hook scripts
execute sub-scripts with the appropriate permissions. This way your
main script can become the user, do the chrooting, etc, etc. Your
script wouldn't be under the control of the repository.

That seems to me to be a better solution, but I dunno. -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 11 00:36:22 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.