Hi,

Last week I moved from a Snow Leopard machine to a Lion machine.  I thought I 
checked out my primary software before finalizing the move, but apparently I 
did not check carefully enough.

I run SAS (statistical analysis software) remotely on a linux box.  Someone 
wrote a script for me that basically allows me to submit my SAS code (and my 
data) to the linux box and then sends the output back to me.  I know this is 
clunky, but it has been working fine for many years, under Snow Leopard, 
Leopard, Tiger, and so on.

When I first moved to Lion, I tried running a SAS program and it seemed to 
work.  It turns out that if I do not edit the SAS script, it will run, but as 
soon as I make a change and save the file, it will not run.  I get the 
following error message:

-bash: ./nlin.csh: /bin/csh: bad interpreter: Operation not permitted

I submit the job by typing "./nlin.csh" in a terminal window, where nlin.csh is 
the name of the script that runs my SAS code.  I can edit the file with the SAS 
code and everything still works, but if I edit the script file (even just 
typing a character and then deleting that character), I get the above error.

If anyone can help me with this, I sure would appreciate it.  If you need more 
information, please let me know.  As you can tell, I don't know much about UNIX 
and scripts.

One last thing, which may not be relevant at all, but I did notice that the 
owner seemed to be fine on my user files, but the group was not.  On my old 
machine the group was "staff", but on the Lion machine the group was "admin".  
I used chown to change the group from "admin" to "staff" but it did not solve 
the problem.  I used the following command:

chown -R :staff dinse

where dinse is the name of my home directory.  I hope I did not make things 
worse.  Nothing exploded, but the script still does not run.

Thanks in advance for any help you can provide,

Gregg

_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to