delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/29/19:35:40

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=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 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: Sat, 30 Aug 2014 03:32:55 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1826924969.20140830033255@yandex.ru>
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Subject: Re: (call-process ...) hangs in emacs
In-Reply-To: <20140829214334.GA2644@calimero.vinschen.de>
References: <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> <20140829214334 DOT GA2644 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
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 AT yandex DOT 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

- Raw text -


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