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 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: <20120726081722 DOT GA5132 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline 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 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 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