Question: I am trying to install some packes on my machine running CentOS 5.5 but when i run ./config or ./Configure, I am returned:

> 
> -bash: ./config: /bin/sh: bad interpreter: Permission denied
> 
> 
> -bash: ./Configure: Permission denied
> 
> 
> 

What do I need to change to correct the issue? I am connected as the root user

Answer: 
How about just `ls -l` inside the openssl directory, **not** `ls -l /bin/ls` like *jrod* wrongly suggested. 

Either set the executable permission on the file your are trying to run with `chmod` like so:

```
chmod +x config

```

the run it:

```
./config

```

or just run it directly with the shell like so:

```
sh ./config

```

Can you not just use the openssl packages included with CentOS?
If you haven't gotten it resolved already... Are you trying to install as root? You should be. Otherwise, you might 'sudo'. 

Others have suggested that the permissions problem is on the /bin/sh executable, but if that isn't it, make sure you can execute config / Configure (as appropriate). To do this, look at the file's permissions and consider who you are (whoami). If you aren't root or the file owner, you may be having problems because of that.

.