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

Re: Make db directory g+s by default?

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-06-22 20:37:21 CEST

On Tue, 2004-06-22 at 14:34, Branko Èibej wrote:
> Greg Hudson wrote:
> > * With the FSFS back end, this makes Subversion much closer to
> > working out of the box for multi-uid access. Even with the BDB
> > back end, you could win naively if your umasks happen to be set
> > liberally, and it's one fewer step on the checklist.

> I'd have thought you need g+rwx on directories for FSFS, too?

Yes... but people are much more likely to figure out that part for
themselves. Or, as I noted, we could provide a --group option during
repository creation.

> >CVS doesn't do this, but I have no idea why not, since it seems to
> >defeat most of the purpose of umask-bashing.

> CVS sets the umask internally, I believe. But it doesn't set the sticky
> bit, right.

The sticky bit is something else. (It's the bit you set on /tmp so that
people can't unlink other people's files even though they have write
permission on the directory.)

> Anyway. I have no objections, as long as it's understood that this is a
> Unix-specific change.

Of course. APR doesn't appear to have any access to the g+s bit, so
we'd have to add Unix-specific code for now.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 22 20:38:10 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.