This is the mail archive of the
cygwin
mailing list for the Cygwin project.
...even stranger (was: ssh + nfs = no write permission)
- From: mwoehlke <mwoehlke at tibco dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 23 May 2006 14:12:37 -0500
- Subject: ...even stranger (was: ssh + nfs = no write permission)
- References: <e4visr$au7$1@sea.gmane.org>
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/