delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/13/11:41:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: Side-by-side configuration is incorrect reported as permission denied
Date: Mon, 13 Aug 2012 08:39:53 -0700
Lines: 31
Message-ID: <k0b74a$gka$1@dough.gmane.org>
References: <5025C431 DOT 7050201 AT cygwin DOT com> <CA+7connXxSSkw-fhHvqbVanEvX7YHOVVdLndmqmd07xRvFT49Q AT mail DOT gmail DOT com> <20120812170641 DOT GC32748 AT ednor DOT casa DOT cgf DOT cx> <CA+7conm=AXUX9Xfj67tGRgMbrgC47W9QHuQ2L3V2p_=7Cf81GQ AT mail DOT gmail DOT com> <CA+sc5m=myjskB4zG0HARWHvZMQGz-k=j7jT=q1Gny4XpNgMfCg AT mail DOT gmail DOT com> <k09mg3$52l$1 AT dough DOT gmane DOT org> <20120813082716 DOT GA11198 AT calimero DOT vinschen DOT de> <k0b35b$e99$1 AT dough DOT gmane DOT org> <20120813144247 DOT GH23253 AT calimero DOT vinschen DOT de> <k0b4nt$rt6$1 AT dough DOT gmane DOT org> <20120813151413 DOT GB18354 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
In-Reply-To: <20120813151413.GB18354@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 08/13/2012 08:14 AM, Corinna Vinschen wrote:
>> There was an error message that cmd showed that bash did not. To me
>> that's suppression.
> This is nonsense and you know it.
It's not nonsense. It's 100% accurate. What in my statement above is not 
the truth?
>>> It's not that the OS generates an error message and cmd lets it slip
>>> through while Cygwin (or bash) "suppress" it.  It's the CreateProcess
>>> call which generates an error code ERROR_SXS_CANT_GEN_ACTCTX and cmd
>>> printing the connected error message, just like bash gets an error code
>>> EACCES and prints the connected error message "Permission denied".
>> Plumbing and mechanics aside, I'm just saying the user should be
>> told the underlying problem. If ERROR_SXS_CANT_GEN_ACTCTX is the
>> error code could ya at least print that as a string? It would give
>> the user a fighting change and finding a solution...
> Plumbing and mechanics is the way to solve the problem.
Right, that's makes it the implementors problem, plumbing and mechanics 
are implementation details - not the users...
> If you don't want to leave the user-only perspective, we will have a hard time to
> find a solution.
"We" are not finding a solution. "You" might be. "I'm" just reporting 
the problem. Now, does everybody have their roles straight? ;-)

Oh, and I fully expect it will not be solved. But I thought I'd report 
it nonetheless. My "side by side" problem has been fixed. I just think 
you should do a better job reporting more accurate error message so that 
users can more easily fix them. I didn't realize, but should have 
realized, that in this world it seems to be considered a crime...
-- 
Andrew DeFaria <http://defaria.com>
Do fish get cramps after eating?


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