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

Re: SVN and sharing working directories

From: Benjamin Podszun <ben_at_galactic-tales.de>
Date: 2005-01-06 12:07:27 CET

Brian Bird wrote:
> Back as user2 I now expect he has permission to update this directory:
> > svn update
> svn: Can't set file '.svn/entries' read-write: Operation not permitted
> > ls -l .svn/entries
> -r--r--r-- 1 user1 group 560 2005-01-06 09:17 .svn/entries

Well.. Read "read-write" (It seems to open the file for reading _AND_
writing) and look at your rights again..
With -r--r--r-- noone is allowed to write to that file.. Maybe you
messed up the rights with a previous attempt to share the repository?
Something like chmod a=r instead of chmod g+rw or something?

> Why does this entries file have to be owned by the user trying to do the
> update? We want any member of the group to be able to perform the svn
> update.

I don't think that is the case. See above..

> Worse yet, back as user1:
> > svn update
> svn: Can't open file '.svn/tmp/entries': Permission denied
> > ls -l .svn/tmp/entries
> -rw-r--r-- 1 user2 group 560 2005-01-06 09:20 .svn/tmp/entries

Did you try to set a correct umask for both users that gives your group
read/write rights?

HTH,
Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 6 12:10:03 2005

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.