delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/25/15:09:09

X-Spam-Check-By: sourceware.org
Date: Fri, 25 Nov 2005 15:09:01 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: /dev/console : permission denied
Message-ID: <20051125200901.GA12445@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <20051125164659 DOT GE8670 AT trixie DOT casa DOT cgf DOT cx> <SERRANO7T9R4OjCqUsR0000017f AT SERRANO DOT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
In-Reply-To: <SERRANO7T9R4OjCqUsR0000017f@SERRANO.CAM.ARTIMI.COM>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 Fri, Nov 25, 2005 at 05:16:56PM -0000, Dave Korn wrote:
>Christopher Faylor wrote:
>> On Fri, Nov 25, 2005 at 02:24:53PM -0000, Dave Korn wrote:
>>> Christopher McIntosh wrote:
>>>> Consequently, I am back to the issue which I was first
>>>> reporting/investigating: Why does init report open(/dev/console) :
>>>> permission denied.
>>> 
>>> strace might be able to tell you that.
>>> 
>>>> SUMMARY: 1.  'cygcheck -s -v -r' causes an error when executed within a
>>>> Cygwin shell (bash, sh, etc.); but is successful when executed within a
>>>> CMD shell.
>>> 
>>> Did you try removing 'tty' from $CYGWIN yet?
>> 
>> I don't know about the cygcheck error but the /dev/console problem
>> sounds like cygwin working as designed.  From the description, it
>> sounds like expected behavior to me.  Something is trying open
>> "/dev/console" when there is no console and is getting an error.
>> 
>> Well, duh.
>
>  Oh, you can't open it when there's not one bound?  Fair enough.  

It's probably a conceptual difference between UNIX/Windows and what
/dev/console means on each system.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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