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]

bash: cat << ... fails with cat: -: Permission denied


Greetings,

This problem appears to have surfaced in a previous thread on this list (see http://sources.redhat.com/ml/cygwin/2003-07/msg01101.html) but no satisfactory resolution was offered then.

The problem arises with bash but not with sh on our cygwin installation:

$ bash -c "cat << EOF"
cat: -: Permission denied

yet:

$ sh -c "cat << EOF"

succeeds. This causes problems particularly insofar as many configure scripts insist on using bash.

Please find attached cygcheck output for our cygwin installation.

Any help appreciated,
Lionel B


_____________________________________________________________
Get your free Crapmail---> http://www.crapmail.com

Attachment: cygcheck.out
Description: Binary data

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