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]

Problem with cat under bash shell


Still no joy on this problem (Cygwin ver 1.5.11)

bash -c "cat << EOF"

fails with:

cat: -: Permission denied

The corresponding command under sh, tcsh or zsh causes no problem.

This is a serious issuefor me, as many (most?) configure scripts
enforce bash as the shell.

I have attached strace output for "cat << EOF": the lines that look
suspicious to me (but I'm a bit of a Cygwin newbie) are:

 1683  381587 [main] cat 2692 fhandler_base::raw_read: ReadFile
/cygdrive/h/users/lionel/Scratch/some disk file failed, An unexpected
network error occurred.
  958  382545 [main] cat 2692 seterrno_from_win_error:
/netrel/src/cygwin-1.5.11-1/winsup/cygwin/ windows error
 1767  384312 [main] cat 2692 geterrno_from_win_error: unknown windows
error 59, setting errno to 13

Any help appreciated,

Lionel B

___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!

Attachment: strace_out
Description: strace_out

Unsubscribe info:
Problem reports:

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