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

Re: unix groups and umasks

From: Dirk van Deun <dvandeun_at_wilma.vub.ac.be>
Date: 2004-03-11 19:26:30 CET

> Normally, people in this situation can get by with the same umask
> directive for all repositories.
 
Well, 007 for group projects and 077 for personal projects ideally, but
this is indeed not crucial. Umask 007 will do for everyone, as the
project root of personal stuff can still be chmod'ed to 700.

> If you set the repository directories to have the g+s bit, then new
> files will be created with a group ownership of the directory's group
> owner, rather than by the user's primary gid. (On some operating
> systems, I think particularly the *BSDs, this behavior holds even
> without the g+s bit, and the g+s bit on a directory is a no-op.)
>
> This should remove the need for any process gid hacking.
 
That would indeed be enough. And it's an elegant solution. Thanks !

Dirk van Deun

--
Licensed to (kill -9)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 11 19:27:03 2004

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.