If I remember correctly, Ubuntu by default will provided colorized output. If installfog.sh was executable, it would be highlighted a different color. Run:

[B]ls -l[/B]

This will show the permissions on the file. You should see [B]-rwxr-xr-x[/B] for permissions. If you don’t have any executable bits, you’ll get the response you got. How do you fix it? For a start, you could run:

[B]sudo chmod 755 installfog.sh[/B]

This will only make that first script executable. In the same directory, there’s a .install.sh file that probably won’t have executable rights either.

[B][U]If you really want to make sure it works[/U][/B]
It seems you must have extracted the files in a strange way because you should already have the correct permissions. When you get the tar.gz from the website, run tar to extract the files to preserve permissions:

[B]tar zxvf fog_1.2.0.tar.gz[/B]

This will extract everything out into your current directory. Then all the permissions should be correct.