delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4B59D16D.9040501@cygwin.com> |
Date: | Fri, 22 Jan 2010 11:25:17 -0500 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Problem with svn and users over multiple machines |
References: | <eb3a2d501001220121n520cd810y5efb63cc10a69186 AT mail DOT gmail DOT com> |
In-Reply-To: | <eb3a2d501001220121n520cd810y5efb63cc10a69186@mail.gmail.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 |
On 01/22/2010 04:21 AM, Gary . wrote: > 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. The ???????? means that Cygwin on the second machine doesn't know the owner of these files. This means the user and group IDs are missing from the '/etc/passwd' and '/etc/group' files. Add them and this problem should go away. See the discussion of security in the Cygwin Users Guide for more details. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |