Problem with svn and users over multiple machines
Larry Hall (Cygwin)
reply-to-list-only-lh@cygwin.com
Fri Jan 22 16:48:00 GMT 2010
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@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.
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
More information about the Cygwin
mailing list