Bug in csh/tcsh 6.12 (and later): ignoring 'x' attribute on files in path
Tim Hubberstey
thcyglist@yahoo.com
Wed Jul 7 08:20:00 GMT 2004
It appears that csh/tcsh executes any file it finds that matches the
filename specified as a command, regardless of whether or not the 'x'
bit is set. I have run the following check on both 6.12 and the latest,
6.13-2, on 3 different computers, with the same results.
% ls -l not_a_script
-rw-rw-rw- 1 Administ None 20 Jul 6 23:49 not_a_script
% cat not_a_script
echo This is wrong!
% not_a_script
This is wrong!
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040707/551b3690/attachment.txt>
-------------- 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