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

Re: Should svnserve set umask to 002?

From: <epg_at_pretzelnet.org>
Date: 2003-01-24 00:57:03 CET

Greg Stein gstein@lyra.org writes:

 Right. The umask is a policy decision, and one that our tools should stay
 out of.

Absolutely.

 It is perfectly fine to do something like:
 
 $ cat mems-serve
 #!/bin/sh
 umask 002
 exec svnserve $*
 ^D
 $ chmod +x mems-serve

This is, as a matter of fact, exactly what i do:

18 ~% cat /usr/local/bin/svnserve
#! /bin/sh
umask 002
exec svnserve.real $@

--
Eric Gillespie * epg@pretzelnet.org

Build a fire for a man, and he'll be warm for a day. Set a man on
fire, and he'll be warm for the rest of his life. -Terry Pratchett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:10:44 2006

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