X-Recipient: archive-cygwin@delorie.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=mHgOkdvTewlGwtnW
	9KhrALRCjS5yQynX+LB6o2tfOKiukUYyF9WF4tHdj4wcA0M/nBSCV4w0QOiVI+D+
	rT8H3yvYgkCjS+JVz/xS/fhppam0eV/GJOOir9pgS0dkBcIA8Mz6jkQv0Ku3VJX3
	GtRpsRcrJiHJZzvm/5YlUWz1Osw=
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=Ik7/x7IXOmyW0ii7zn27F5
	uzQX0=; b=XPz/nvMFi2CSyxO63gb7+zkhH8SfjND/xQH5nS/P0fa+LdQSIjC6ih
	YJyY9/YPQOvfVAbejZ1mZcJsULSLdA4Pzrnur3F+xRAfiHW0c0s7GdFXLiKV4nSf
	mnLR3ST2tm4BmaYtiBROSRyVTW2eN2UFvLLI6BfuTnFFlAHubQ0w4=
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
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: Sat, 30 Aug 2014 03:32:55 +0400
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1826924969.20140830033255@yandex.ru>
To: Corinna Vinschen <cygwin@cygwin.com>
Subject: Re: (call-process ...) hangs in emacs
In-Reply-To: <20140829214334.GA2644@calimero.vinschen.de>
References: <loom.20140827T170804-533@post.gmane.org> <loom.20140828T085927-71@post.gmane.org> <20140828095524.GO20700@calimero.vinschen.de> <20140828131832.GT20700@calimero.vinschen.de> <loom.20140828T172529-396@post.gmane.org> <loom.20140829T115632-276@post.gmane.org> <20140829110938.GD20700@calimero.vinschen.de> <5400C19D.4070408@cornell.edu> <87ha0vhzge.fsf@Rainer.invalid> <5400D64D.1090709@cornell.edu> <20140829214334.GA2644@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Corinna Vinschen!

> What needs to be done is to fix the ssh-host-config script.  It adds an
> ACE for SYSTEM on /var/empty, /etc, and /var/log for no apparent reason.

If it's not apparent: you can actually prevent system from accessing the file
by removing access from SYSTEM user to the file.
Windows ACL's are THAT nasty.

[C:\WINDOWS\system32]$ cacls.exe cmd.exe
C:\WINDOWS\system32\cmd.exe DAEMON2\AnrDaemon:R
                            NT AUTHORITY\SYSTEM:R
                            BUILTIN\Administrators:R
                            BUILTIN\Advanced users:R
                            BUILTIN\Users:R

[C:\WINDOWS\system32]$

Ergo, Windows now unable to delete/overwrite cmd.exe... (It's not actually a
cmd.exe - it's a renamed 4nt.exe. Windows SFC always trying to "repair" it.
And always fail. So do windowsupdate.)


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 30.08.2014, <03:25>

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

