Comment 7 for bug 301917

Revision history for this message
Grimm (dmalcolm) wrote :

Can confirm this problem. Running 8.10 32-bit. During Oracle installation found that the runInstaller script gave the error:

"bash: ./runInstaller: /bin/bash: bad interpreter: Permission denied". Checked and found that the new userid oracle created for this installation could not execute any scripts. Example (owned by oracle user):

#!/bin/bash
echo "Hello\n";

Accounts created prior to 8.10 execute this without problems; new accounts running the same script file
give the error above. Have tried copying .bashrc and .profile from older account, no change. Both accounts have bash as the default interpreter. From passwd file (name changed):

fred:x:1000:1000:Fred Bloggs,,,:/home/fred:/bin/bash
oracle:x:1001:1001:Oracle,,,:/home/oracle:/bin/bash

Tried changing default group for oracle user from oinstall to oracle - no change.

Tried adding oracle to sudoers and calling indirectly:

oracle@arwen:/mnt/barracuda_other/database$ sudo ./test.sh
sudo: unable to execute ./test.sh: Permission denied
oracle@arwen:/mnt/barracuda_other/database$ ls -lh test.sh
-rwxrwxrwx 1 oracle oinstall 28 2009-01-23 19:12 test.sh
# bash is functional
oracle@arwen:/mnt/barracuda_other/database$ /bin/bash
oracle@arwen:/mnt/barracuda_other/database$ cat test.sh
#!/bin/bash
echo "Hello\n";

I can probably work around the Oracle installation problem by reusing an older account, but is anyone else
seeing this behaviour? Any suggestions appreciated