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

Re: how to share a working directory?

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-08-19 08:36:00 CEST

robert rottermann wrote:
> Good morning,
> how do I best share a working directory among users?
> My situation is, that I work using two different accounts on the same
> machine. I would like to be able to execute svn statements in a working
> directory as both users.
> Here what I use:
> - SusE Linux 9.1
> - umask 002
> all files in the working directory belong to user zope
> What I get when I svn up as user robert is
> mv: Can't move '.svn/tmp/etries' to '.svn/entries': Operation not
> permitted

Both users must have a common group.

If that common group is not the primary group of both users, then you

mkdir somecontainer
chgrp commongroup somecontainer
chmod g+s somecontainer
cd somecontainer
svn co url://to/whatever

That will ensure that the entire wc is created with directories setgid and
group-owned by commongroup.
Once created you can mv the wc out of somecontainer and rmdir somecontainer.

Also, you must not be using the broken apr shipped with apache 2.0.50 and
svn 1.1.0-rc2, or must be using a version of svn which has the workaround
applied (current 1.1.x later than rc2 or trunk). The symptom of this problem
is that all subversion-created directories have the sticky (t) bit set.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 19 08:37:03 2004

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

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