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

[OT] Re: how to share a working directory?

From: Frank Munch <sm_sbv_at_u5.com>
Date: 2004-08-19 07:50:54 CEST

Hi

At 11:44 AM 8/19/2004, you wrote:
>Good morning,

Depends on where you are. :-)

>how do I best share a working directory among users?

Hmm, this is not really a svn-question?!

How about putting both users in the same group "workers" and either...

a. You set your umask so files are created with right permissions or
b. You make a script running e.g.
   chmod -R 775 /path/to/my/workingcopy
   chown -R :workers /path/to/my/workingcopy

and run it when logging out?

On linux there's also the sg-command so you at login could execute

sg workers

ensuring that the files are created with the right group from the start.

There's also the find-command, allowing you to treat files on basis of a
number of parameters, e.g. ownership and permissions.

Some combination should do the trick.

Hope it helps!

Frank

>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
>
>thanks for your insight.
>
>Robert
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org

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

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