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]

WinXP + cygwin + sshd


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@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/


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