Thanks for your reply. Let me ask you a qestion. I have one user, computation, on the machine in addition to root. I set the permissions on the /etc tree to computation.users, but the /bin directory, and hence both csh and tcsh are set root.root. Should this be changed, also. Or am I going about this incorrectly? Here is my / director listing drwxr-xr-x 23 root root 560 2005-04-30 13:49 . drwxr-xr-x 23 root root 560 2005-04-30 13:49 .. drwxr-xr-x 2 root root 2896 2005-04-27 10:45 bin drwxr-xr-x 3 root root 536 2005-04-24 08:43 boot drwxr-xr-x 21 computation users 4096 2005-04-23 13:10 data1 drwxr-xr-x 13 computation users 336 2005-04-29 14:21 data2 drwxr-xr-x 35 root root 181968 2005-04-30 08:02 dev -rw-r--r-- 1 root root 0 2005-04-30 13:49 dir.txt drwxr-xr-x 97 root root 8776 2005-04-30 08:02 etc drwxr-xr-x 3 root root 80 2005-04-24 09:40 home drwxr-xr-x 13 root root 3640 2005-04-25 09:22 lib drwxr-xr-x 5 root root 144 2005-04-29 14:34 media drwxr-xr-x 2 root root 48 2005-03-23 16:34 mnt drwxr-xr-x 11 root root 280 2005-04-28 08:56 opt dr-xr-xr-x 122 root root 0 2005-04-30 04:01 proc drwx------ 22 root root 1056 2005-04-30 13:49 root drwxr-xr-x 3 root root 9056 2005-04-24 10:07 sbin drwxr-xr-x 5 root root 120 2005-04-24 09:13 srv drwxr-xr-x 10 root root 0 2005-04-30 04:01 sys drwxrwxrwt 26 root root 50512 2005-04-30 13:45 tmp drwxr-xr-x 13 computation users 368 2005-04-24 14:03 usr drwxr-xr-x 14 root root 360 2005-04-24 08:36 var Thanks in advance. On Saturday April 30, 2005 10:50 am, Jeffrey L. Taylor wrote:
Quoting Stephen P. Molnar, Ph.D. <s.molnar@sbcglobal.net>:
I have just upgraded from SuSE 9.0 to 9.3. When I attempt to run a script that ran under 9.0 with no problem I get the error message:
bash: ./get-dockings: /bin/csh: bad interpreter: Permission denied
Yet, the permission on the script are -rwxrwxrwx
What is going on here?
Also, it makes no difference if I attempt running the script as root, not my normal procedure, or as a user.
Thanks in advance.
Are you sure you have the C Shell installed? And it's permissions are correct? (Note: /usr/bin/csh and /bin/csh are links to /bin/tcsh.) It looks to me like Bash is complaining about the permissions on the interpreter, /bin/csh, not the permissions on the script.
HTH, Jeffrey
-- Stephen P. Molnar, Ph.D. Life is a fuzzy set Foundation for Chemistry Stochastic and multivariant http://www.geocities.com/FoundationForChemistry