delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/29/16:05:45

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=HGsuFy0lZcsOHnR6
Ju9TAniGVqN+lhWqPxwBayA+Qq80s/7rEBZoLPakQg2dWLkV01NYGaj/xbWnsGlR
uB/OAIqH81PqexLGsVBAe70X9KQkZCbwdkiG0aWe4Z7kkPC7Rho8j+8wGmS9sLAr
ibxBA+JpmpM8JumatidCzxZnHzY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=S6uzLkNsaGVaNNfHVIMr4p
RppNQ=; b=I/2Dr5xOpJMsycyf5J031IbHTetQnST92qMjZXwjtq85tMgzcei6S6
yTIRKXQI1ueCwCrFJdctsZf64f6Z8WxydtoCqetFPD/Kuv/ZMmoi+v9CvlJq4ILg
uf/vdwjxcp8klefacdkEVhCp36UFUPWf9C5sRKh8czDx677pcsv3E=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Fri, 29 Aug 2014 23:57:54 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1619566519.20140829235754@yandex.ru>
To: Ken Brown <kbrown AT cornell DOT edu>, cygwin AT cygwin DOT com
Subject: Re: (call-process ...) hangs in emacs
In-Reply-To: <5400D64D.1090709@cornell.edu>
References: <87wq9v9j2y DOT fsf AT Rainer DOT invalid> <53FD0662 DOT 5050208 AT cornell DOT edu> <20140827084245 DOT GD20700 AT calimero DOT vinschen DOT de> <53FDD4A8 DOT 5050401 AT cornell DOT edu> <loom DOT 20140827T170804-533 AT post DOT gmane DOT org> <loom DOT 20140828T085927-71 AT post DOT gmane DOT org> <20140828095524 DOT GO20700 AT calimero DOT vinschen DOT de> <20140828131832 DOT GT20700 AT calimero DOT vinschen DOT de> <loom DOT 20140828T172529-396 AT post DOT gmane DOT org> <loom DOT 20140829T115632-276 AT post DOT gmane DOT org> <20140829110938 DOT GD20700 AT calimero DOT vinschen DOT de> <5400C19D DOT 4070408 AT cornell DOT edu> <87ha0vhzge DOT fsf AT Rainer DOT invalid> <5400D64D DOT 1090709 AT cornell DOT edu>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Ken Brown!

>>> With the latest snapshot I can't start the sshd service.  The
>>> Application Log just says, "`sshd' service stopped, exit
>>> status:255". The problem doesn't occur with the 2014-08-27 snapshot.
>>> I guess this has something to do with the new permissions on various
>>> files, but I'm not sure which ones.
>>
>> Off the top of my head for the standard installation:
>>
>> /etc/ssh*
>> /var/empty
>> /var/log/sshd
>>
>> When you try to debug the sshd, IIR these are the files that must be
>> chown'ed to the admin user that runs sshd from the terminal.  Running in
>> debug mode (either from the terminal or via sshd_config) should produce
>> messages which file or directory sshd is choking on.

> I just checked /var/log/sshd.log.  (I hadn't thought to do that before.) 
>   The last message in it is, "/var/empty must be owned by root and not 
> group or world-writable."  So the problem seems to be that /var/empty 
> appears to sshd to be group writable under the latest snapshot.  This is 
> the "downside" that Corinna mentioned.  What needs to be done to 
> /var/empty to fix this?

I think, setting ACL that will directly translate to -rwx------ without any
"+" should help.

I'm in the middle of transfer to Win7/64, can't test anything right now.


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 29.08.2014, <23:56>

Sorry for my terrible english...


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

- Raw text -


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