Differences between version 28 and predecessor to the previous major change of CommonErrors.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 28 | Last edited on Thursday, June 10, 2004 4:09:45 pm | by BenBotto | Revert |
Older page: | version 26 | Last edited on Wednesday, October 1, 2003 3:41:31 pm | by JohnMcPherson | Revert |
@@ -53,8 +53,10 @@
!!-bash: /bin/bash: Permission denied: /path/to/program
!!bash: /path/to/script: /bin/bash: bad interpreter: Permission denied
+
+This error happend after opening my firewall script in windows with notepad, because windows uses Carriage Return <CR>. I use MonMotha's script, and after editing it with notepad it would no longer work in red hat. After re-downloading the script it ran fine.
Note that other shells (such as zsh(1)) don't give the "bad interpreter" part of the message for some of the following circumstances - only bash(1) seems to.
Possible causes for this message (in decreasing order of probability):