Problem with cat under bash shell
Lionel Barnett
lionelbuk@yahoo.co.uk
Tue Sep 14 14:35:00 GMT 2004
Hi,
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/fhandler.cc:263 windows error
59
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! http://uk.messenger.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strace_out
Type: application/octet-stream
Size: 36613 bytes
Desc: strace_out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040914/39a63d64/attachment.obj>
-------------- next part --------------
--
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/
More information about the Cygwin
mailing list