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: Maxima can't write to /dev/stdout


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


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