delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/26/04:46:57

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 26 Jul 2012 10:45:57 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Maxima can't write to /dev/stdout
Message-ID: <20120726084557.GJ29107@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <loom DOT 20120726T084637-318 AT post DOT gmane DOT org> <20120726081722 DOT GA5132 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20120726081722.GA5132@calimero.vinschen.de>
User-Agent: Mutt/1.5.21 (2010-09-15)
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 Jul 26 10:17, Corinna Vinschen wrote:
> On Jul 26 07:04, Achim Gratz wrote:
> > The following maxima session encounters an EACCESS error that I can't
> > make sense of:
> > 
> > (%i1) m: genmatrix (lambda([i,j], i+j-1), 3, 3)$
> > (%i2) write_data(m, "/dev/stdout")$
> > Maxima encountered a Lisp error:
> > 
> > 
> > UNIX error 13 (EACCES): Permission denied
> > 
> > Automatically continuing.
> > To enable the Lisp debugger set *debugger-hook* to nil.
> > (%i3)
> > 
> > The strace corresponding to opening /dev/stdout looks normal to me up until the
> > write fails:
> > [...]
> >   133 28731254 [main] lisp 196 symlink_info::check: 15 =
> > symlink.check(C:\Programs\Cygwin\dev\stdout, 0xDC16B0) (0x3000B)
> >    28 28731282 [main] lisp 196 path_conv::check: this->path(/proc/self/fd/1),
> > has_acls(1)
> 
> /dev/stdout is a symlink to /proc/self/fd/.
                              /proc/self/fd/1, of course.


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

- Raw text -


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