delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/24/01:56:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <BAY11-DAV299DA02635BAE5BB6FEC9DA8CB0@phx.gbl>
X-Originating-Email: [christopherphillipson AT msn DOT com]
X-Sender: christopherphillipson AT msn DOT com
From: "Christopher Phillipson" <christopherphillipson AT msn DOT com>
To: <cygwin AT cygwin DOT com>
Subject: WinXP + cygwin + sshd
Date: Sat, 23 Jul 2005 22:55:54 -0700
MIME-Version: 1.0

Hello.

I'm trying to configure two WinXP Pro machines to communicate via ssh with
one another.

I've downloaded, installed and configured the latest Cygwin on both. So,
Machine A is running sshd. Machine B uses ssh to connect to Machine A.  I
have no problems connecting.  Where I am experiencing trouble is with
file/directory permissions. 

I have most files and directories set with 775 permission.  When I connect,
chdir to the directory, and open the file with vim, I get only readonly
access with the account I'm connected as, though the account should have
write access.

Here are the groups set up on Machine B (client)

Chris Phillipson AT BELGARATH /var/log
$ mkgroup -u -l
SYSTEM:S-1-5-18:18:
None:S-1-5-21-583907252-854245398-725345543-513:513:
Administrators:S-1-5-32-544:544:Administrator,Chris Phillipson
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:Guest 

Here are the groups setup on Machine A (server)

$ mkgroup -u -l 
SYSTEM:S-1-5-18:18:
None:S-1-5-21-329068152-413027322-1801674531-513:513:
Administrators:S-1-5-32-544:544:Administrator,Chris Phillipson
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:Guest

Here is the user on Machine A

Chris Phillipson:unused_by_nt/2000/xp:1003:513:Christopher
Phillipson,U-AMADEUS\Chris
Phillipson,S-1-5-21-329068152-413027322-1801674531-1003:/home/Chris
Phillipson:/bin/bash

And on Machine B, the user is

Chris Phillipson:unused_by_nt/2000/xp:1003:513:U-BELGARATH\Chris
Phillipson,S-1-5-21-583907252-854245398-725345543-1003:/home/Chris
Phillipson:/bin/bash

Sshd is running as LocalSystem on Machine A.

The difference I see above is that the None group SIDs differ b/w machines.
The files I mention above are owned by user Chris Phillipson and the group
is None.  However, Machine B interprets Machine A's files as ??????? group.

Thanks in advance for any hints or direct assistance.

Regards,
Chris Phillipson.

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

- Raw text -


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