X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 13 Aug 2012 15:50:14 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Side-by-side configuration is incorrect reported as permission denied Message-ID: <20120813135014.GE23253@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20120812170641 DOT GC32748 AT ednor DOT casa DOT cgf DOT cx> <20120812205407 DOT GA7337 AT ednor DOT casa DOT cgf DOT cx> <5028B9D5 DOT 6050007 AT gmx DOT de> <20120813131113 DOT GD23253 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Aug 13 09:21, Earnie Boyd wrote: > On Mon, Aug 13, 2012 at 9:11 AM, Corinna Vinschen> wrote: > > On Aug 13 08:51, Earnie Boyd wrote: > >> On Mon, Aug 13, 2012 at 4:24 AM, Herbert Stocker wrote: > >> > There is no need for the 'no', i'd suggest ELIBBAD. > >> > >> Again, not an error message that exec() should return. > > > > Wrong. See the Linux man page for execve: > > > > http://linux.die.net/man/2/execve > > > > ELIBBAD > > An ELF interpreter was not in a recognized format. > > That page also says > > EACCES > Execute permission is denied for the file or a script or ELF interpreter. > > I don't see this SxS error an unrecognized format. The users system > is rather incomplete causing the execution to fail. The MS solution > is to install the redistributable DLL files. What I was trying to say is, Linux allows execve to return POSIX error codes which are not covered by the POSIX specs of execve. EACCES is a perfectly valid error code here, but we can also use another one for border cases, like the suggested one. Please note, I'm neither strongly for nor against changing the error code in the case discussed in this thread. But if it can help users in a border case... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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