This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: (call-process ...) hangs in emacs
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Corinna Vinschen <cygwin at cygwin dot com>
- Date: Sat, 30 Aug 2014 03:32:55 +0400
- Subject: Re: (call-process ...) hangs in emacs
- Authentication-results: sourceware.org; auth=none
- 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>
- Reply-to: cygwin at cygwin dot com
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