On Jun 12 03:10, Dave Korn wrote:
> On 12 June 2007 02:32, Brian Minton wrote:
> 
> > I know.  I basically just wanted to try combining heredocs and process
> > substitution, to see if I could do it. :-)
> 
>   I think heredocs inherit perms from /tmp, don't they?

Heredocs are not the problem here but the <() process substitution.
It opens a descriptor to a pipe, which has (faked) permissions 0666
on Cygwin.  Pipes on Linux have 0600 permissions.  Since pipes on
Cygwin are also created with r/w permissions for the user only, I
changed the mode bits returned from stat/fstat for pipes accordingly
in CVS.

> > On 6/11/07, Dave Korn <[EMAIL PROTECTED]>
> 
>   Please try and avoid that.  http://cygwin.com/acronyms#PCYMTNQREAIYR and all
> that, thanks.

I agree.


Corinna


-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

Reply via email to