This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with svn and users over multiple machines


I don't know if this is a Cygwin related problem or if I am just being
stupid. Probably the latter, but maybe in that case some kind soul
will take pity on me.

I added a new user "svn" and a new group "subversion-user", basically
following http://www.cygwin.com/ml/cygwin/2005-07/msg00933.html with
the addition of also doing mkgroup -l -g subversion-user >>
/etc/group.

I then created a subversion repository in the usual way, on an NDAS
drive, and then changed the file permissions so that they are owned by
user svn and can be modified by members of the group subversion-user.

I could then add and commit files to my repository. So far so good.

I also want to be able to work on another machine in a similar manner,
so did the same things on that machine regarding user and group as I
did on the first. My suspicion is that I shouldn't have, I should have
done something else instead, because I see
gary@mimosa ~
$ ls -l /svn/db
total 14
-rw-r--r--+ 1 gary            Kein               2 2010-01-22 09:34 current
-r--r--r--  1 svn             subversion-user   22 2010-01-22 08:22 format
-rw-r--r--  1 svn             subversion-user    5 2010-01-22 08:22 fs-type
-rw-r--r--  1 svn             subversion-user 1920 2010-01-22 08:22 fsfs.conf
(etc.)
from the first machine...

...but see
gary@sunflower ~
$ ls -l /svn/db
total 14
-rw-r--r--+ 1 ????????       ????????    2 2010-01-22 09:34 current
-r--r--r--  1 ????????       ????????   22 2010-01-22 08:22 format
-rw-r--r--  1 ????????       ????????    5 2010-01-22 08:22 fs-type
-rw-r--r--  1 ????????       ???????? 1920 2010-01-22 08:22 fsfs.conf
(etc.)
from the second.

Furthermore, attempting to commit a file (directory, actually) from
the second machine results in an error, like so -
gary@sunflower ~/src/myproject
$ svn ci src

svn: Commit failed (details follow):
svn: Can't open file '/svn/db/txn-current': No such file or directory

but I don't know if that is related to this or some other problem.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]