X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0	tests=AWL,BAYES_00,SPF_NEUTRAL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4CE2A78B.2060202@cornell.edu>
Date: Tue, 16 Nov 2010 10:47:23 -0500
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: sshd problem with recent snapshots
References: <4CD3F277.8020608@cornell.edu> <4CDEA7FB.6090701@cornell.edu> <20101115160956.GC17405@calimero.vinschen.de> <4CE15D71.1040002@cornell.edu> <20101115164013.GB26984@ednor.casa.cgf.cx> <20101115165334.GH17405@calimero.vinschen.de> <4CE1972C.4080809@cornell.edu> <20101116135814.GC26851@calimero.vinschen.de> <4CE29643.2030005@cornell.edu> <20101116145906.GD26851@calimero.vinschen.de>
In-Reply-To: <20101116145906.GD26851@calimero.vinschen.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 11/16/2010 9:59 AM, Corinna Vinschen wrote:
> These changes only affect files, not ttys.
>
> The failing chmod(/dev/tty1, 0622) is actually trying to change the
> permissions on internal objects, like events, mutexes, and pipes, which
> together constitute a tty/pty.

I'm grasping at straws now, but what about this change:

   * fhandler_tty.cc (fhandler_tty_slave::init): Use tty::setpgid method.

I actually tried reverting this change and rebuilding cygwin1.dll, and 
it didn't help.  But maybe it interacts with the other changes somehow.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

