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:

ora...@arwen:/mnt/barracuda_other/database$ sudo ./test.sh
sudo: unable to execute ./test.sh: Permission denied
ora...@arwen:/mnt/barracuda_other/database$ ls -lh test.sh
-rwxrwxrwx 1 oracle oinstall 28 2009-01-23 19:12 test.sh
# bash is functional
ora...@arwen:/mnt/barracuda_other/database$ /bin/bash
ora...@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

-- 
Can't execute scripts in ubuntu 8.10
https://bugs.launchpad.net/bugs/301917
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to