This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /dev/console : permission denied


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]