delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/22/00:39:35

X-Spam-Check-By: sourceware.org
X-Return-Path: <mailinglist AT ebrady DOT net>
X-Received: from atlanta.hostforweb.net (atlanta.hostforweb.net [205.234.145.203]) by mx.cims.nyu.edu (8.12.10+Sun/8.12.10) with ESMTP id jBM3XSc0018760 for <pechtcha AT cs DOT nyu DOT edu>; Wed, 21 Dec 2005 22:33:28 -0500 (EST)
X-Received: from cpe-204-210-224-3.columbus.res.rr.com ([204.210.224.3]:62163 helo=[127.0.0.1]) by atlanta.hostforweb.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.52) id 1EpHCm-0003Ti-VG; Wed, 21 Dec 2005 21:33:25 -0600
Message-ID: <43AA1E84.5020207@ebrady.net>
Date: Wed, 21 Dec 2005 22:33:24 -0500
From: Ed Brady <mailinglist AT ebrady DOT net>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
MIME-Version: 1.0
To: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
CC: 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>
In-Reply-To: <Pine.GSO.4.63.0512211011150.8494@slinky.cs.nyu.edu>
X-Greylist: Default is to whitelist mail, not delayed by milter-greylist-2.0.1 (mx.cims.nyu.edu [128.122.80.78]); Wed, 21 Dec 2005 22:33:29 -0500 (EST)
ReSent-Date: Thu, 22 Dec 2005 00:39:17 -0500 (EST)
ReSent-From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
ReSent-To: cygwin AT cygwin DOT com
ReSent-Subject: Re: SSH problem after upgrade
ReSent-Message-ID: <Pine DOT GSO DOT 4 DOT 63 DOT 0512220039170 DOT 8494 AT slinky DOT cs DOT nyu DOT 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

--------------040101090809040709000701
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Igor Pechtchanski wrote:


>Does it help if you leave the files in /usr/bin, but explicitly specify
>the path to the program (e.g., /home/Ed/telnet.exe)?
>  
>

Unfortunately,  I have tried explicitly specifying the path 
(/usr/bin/ssh.exe, /usr/bin/telnet, etc)  with no luck.

>  
>
>>Some additional notes:
>>#1 - Copying the program to a different name under the SAME directory
>>(/usr/bin)  does not cause the problem to go away, creating symlinks
>>does not help either.  This means the problem is somehow related to
>>something specific to the attributes of /usr/bin itself.
>>#2 - Considering the three programs found (ssh, ftp, telnet), there is a
>>high probability that the root cause is related to how the "socket" or
>>related api cmds are being invoked or differences in how it is being
>>called when the application resides in the home directory versusus
>>/usr/bin.
>>#3 - I have yet to find a complete list, but I am betting that this
>>behavior will exist on all applications trying to open a priviledged
>>port.
>>    
>>
>
>Sounds like a permission issue.  What does "ls -ld /usr/bin" show?
>This may be a red herring, but try the following command:
>
>chmod a+x / /bin /lib /usr /etc
>  
>
Interesting idea, I tried this, but no luck....

>If this helps, your trouble may be with traverse checking...
>
>Also, can you post the permissions on the original files and the copies in
>your home directory (both "ls -l" and "getfacl")?
>HTH,
>  
>
Here are the listings, starting with /usr/bin

getfacl /usr/bin/ssh.exe
# file: /usr/bin/ssh
# owner: Ed
# group: Users
user::rwx
group::r-x
group:SYSTEM:rwx
mask:rwx
other:---

ls -l /usr/bin/ssh.exe
-rwxr-x---+ 1 Ed Users 231424 Sep  5 07:37 /usr/bin/ssh.exe


getfacl  /home/Ed/ssh.exe
# file: /home/Ed/ssh.exe
# owner: Ed
# group: None
user::rwx
group::r-x
mask:rwx
other:---

ls -l /home/Ed/ssh.exe
-rwxr-x---  1 Ed None 231424 Dec 20 09:05 /home/Ed/ssh.exe

 I have also tried changing the group of /usr/bin/ssh.exe to None with 
no success

Ed

--------------040101090809040709000701
Content-Type: Text/Plain; charset=US-ASCII
X-Content-Type: text/html; charset=ISO-8859-1
X-Content-Transfer-Encoding: 7bit

  [ The following attachment was DELETED when this message was saved:    ]
  [ A Text/HTML segment of about 2,921 bytes.                            ]
--------------040101090809040709000701--

- Raw text -


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