www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/22/04:21:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Fri, 22 Jan 2010 10:21:14 +0100
Message-ID: <eb3a2d501001220121n520cd810y5efb63cc10a69186@mail.gmail.com>
Subject: Problem with svn and users over multiple machines
From: "Gary ." <cygwin AT garydjones DOT name>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT 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 AT 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 AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019