X-Spam-Check-By: sourceware.org
Date: Fri, 25 Nov 2005 11:46:59 -0500
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: /dev/console : permission denied
Message-ID: <20051125164659.GE8670@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <dm5tj0$m3d$1@sea.gmane.org> <SERRANOMhF5SdTiyxWp00000167@SERRANO.CAM.ARTIMI.COM>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <SERRANOMhF5SdTiyxWp00000167@SERRANO.CAM.ARTIMI.COM>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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.

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/

