delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/23/15:14:11

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: mwoehlke <mwoehlke AT tibco DOT com>
Subject: ...even stranger (was: ssh + nfs = no write permission)
Date: Tue, 23 May 2006 14:12:37 -0500
Lines: 38
Message-ID: <e4vmr6$r2g$1@sea.gmane.org>
References: <e4visr$au7$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.2 (X11/20060420)
In-Reply-To: <e4visr$au7$1@sea.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

mwoehlke wrote:
> I *think* this is new... if not, would appreciate someone pointing me at 
> what search terms worked better than my attempts.
> 
> Anyway... I have two computers - one XP, one W2k3 R2 - running Cygwin 
> with network mounts over ssh set up as described in 
> <http://cygwin.com/ml/cygwin/2006-05/msg00636.html>.
> 
> This works fine on the XP machine, but on the W2k3 machine, I can *read* 
> but not *alter* (write, change permissions, etc) files on the network 
> mounts (local drives are OK though).
> 
> I suspect a permission problem on the ssh user and/or something with how 
> shares work on 2k3 vs. XP. I'm not sure, however, how to investigate the 
> permissions possibility or what I would be looking for.
> 
> Any guesses?

Ok, now this is *really* bizarre... if I log in as me, all is OK (minus 
the above issue). If I log in as "Administrator":
- on the XP box, I get "Read from socket failed: Connection reset by peer".
- on the 2k3 box, I can log in, but my network drives all show up as 
'unavailable'.

If I log in as a *different* user (2k3 only, the XP box doesn't know any 
other users), I get a completely different set of network shares.

This implies that the share re-creation is only working for my user, but 
I'm not sure how that is possible, as my sshd service is running as the 
user '.\sshd_server'.

AFAIK, I *did* set up sshd with ssh-host-config; the only thing I 
changed was to re-create the Windows service (all via cygrunsrv) so it 
would run my initialization script instead of the actual sshd executable.

-- 
Matthew
Interix, Sphinterix. Cygwin apps don't crash. :-)


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