hasanarbsq / osfilemanager

Automatically exported from code.google.com/p/osfilemanager
0 stars 0 forks source link

scripts uploaded to osfm-static don't run after being downloaded with wget #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create bash script
2. upload script to osfm-static
3. install wget on ubuntu server and wget script from osfm-static
4. chmod script 744 and execute script (sudo ./script.sh)

What is the expected output? What do you see instead?

Expected output is that the script runs. Instead I get the following error:

sudo cannot execute ... no such file or directory 

What version of the product are you using? On what operating system? On
what web host?

osFM Static 1.1 on Ubuntu JeOS (hosted at home).

Please provide any additional information below.

When I copy the script that I have uploaded to osfm-static directly to a
new ubuntu jeos installation via SSH the script works just fine. 

The script only fails when I upload it to osfm-static and then download it
with wget.

Original issue reported on code.google.com by mikela...@gmail.com on 27 Jul 2009 at 11:48

GoogleCodeExporter commented 8 years ago
Please ignore the above post - this turned out to be user error! 

Original comment by mikela...@gmail.com on 18 Aug 2009 at 10:07