This is actually a two part question:
Part 1:
I've written a C++ "SIOUX Console App." It runs fine from within CodeWarrior, and on other systems, but when I call it from the console (bash or c-shell) the system says "permission denied." I opened permissions to 777, so it's not a permission...