|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
permission denied
I am trying to execute a script from the command line as root, but am getting a permission denied error. The cause of the problem: I was editing the script with vi when I lost my internet connection.
How can I fix this problem? Even when I delete the file and re-create it I get the error when I try to execute it. Thanks, Ryan |
|
#2
|
|||
|
|||
|
my god
Quote:
please reread page 3 of your *nix man 3 ways: 1: give run permissions, chmod 755 filename or chmod a+x filename 2: start it in a shell, /bin/sh filename 3: if you still get the error, in the script, you are calling an unknown interpreter assumed in filename is #!/bin/xxx do something exit 0 calling filename will give that error. not filename but /bin/xxx IS the error. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > permission denied |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|