delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/21/23:23:39

X-Spam-Check-By: sourceware.org
Message-ID: <43AA2A42.9070906@ebrady.net>
Date: Wed, 21 Dec 2005 23:23:30 -0500
From: Ed Brady <mailinglist AT ebrady DOT net>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: SSH problem after upgrade
References: <43A7855E DOT 7090002 AT ebrady DOT net> <dob42o$n1c$1 AT sea DOT gmane DOT org> <43A95599 DOT 2010409 AT ebrady DOT net> <Pine DOT GSO DOT 4 DOT 63 DOT 0512211011150 DOT 8494 AT slinky DOT cs DOT nyu DOT edu> <43AA1E84 DOT 5020207 AT ebrady DOT net> <Pine DOT GSO DOT 4 DOT 63 DOT 0512212240561 DOT 8494 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.63.0512212240561.8494@slinky.cs.nyu.edu>
X-IsSubscribed: yes
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

Igor Pechtchanski wrote:

>That's not what I asked (though I can see how it can be misread).  Let me
>try again: if you copy telnet.exe into your home directory, *leave*
>/usr/bin/telnet.exe in place, and then invoke the telnet in your home
>directory as /home/Ed/telnet.exe, does it still work for you?
>
>  
>
Yes it worked,   I also performed the same procedure with ftp.exe, and 
got good results.

>IIRC, the Windows dynamic loader will first look for DLLs in the
>application directory, and only then in the PATH.  Here's a WAG: do you
>have a copy of winsock.dll or ws2_32.dll in /usr/bin?
>
>  
>
Neither are present.

>Just to rule out traverse checking, could you try running
>"CYGWIN=notraverse /usr/bin/telnet HOST"?
>  
>
No luck here, to be thorough, I also tried

"CYGWIN=notraverse /usr/bin/ssh HOST"

with same result.

>Doesn't look particularly significant...  Can you also post the output of
>"getfacl / /bin /home/Ed"?
>  
>


No problem, listing is included below...


getfacl /
# file: /
# owner: Ed
# group: Users
user::rwx
group::rwx
group:SYSTEM:rwx
group:Administrators:rwx
mask:rwx
other:---
default:user::rwx
default:group:SYSTEM:rwx
default:group:Administrators:rwx
default:group:Users:rwx
default:mask:rwx

getfacl /bin
# file: /bin
# owner: Ed
# group: Users
user::rwx
group::rwx
group:SYSTEM:rwx
group:Administrators:rwx
mask:rwx
other:---
default:user::rwx
default:group:SYSTEM:rwx
default:group:Administrators:rwx
default:group:Users:rwx
default:mask:rwx

getfacl /home/Ed
# file: /home/Ed
# owner: Ed
# group: None
user::rwx
group::---
group:SYSTEM:rwx
group:Administrators:rwx
group:Users:rwx
mask:rwx
other:---
default:user::rwx
default:group:SYSTEM:rwx
default:group:Administrators:rwx
default:group:Users:rwx
default:mask:rwx




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