Thanks to the replies on this one, esp Tom, Steve , and Shiv for pointing me
in the shell direction and not security- it turns out that it was really a
silly mistake on my part- despite my best intentions the script was being
executed in bourne instead of korn shell hence the weird error. BTW- the
reason for the backticks was that i was wanting to store the result in a
variable just in case the reason for them wasn't immediately apparent.
Thanks again
Andrew
--original question
Hi- I'm rather new to tru64 and am having a problem with /tmp file access.
In a script I can execute
> $ORACLE_HOME/bin/sqlplus -s / << EOF
> select sysdate from dual;
> exit
> EOF
>
> to get the desired result
> whereas if I do
>
> `$ORACLE_HOME/bin/sqlplus -s / << EOF
> select sysdate from dual;
> exit
> EOF`
>
> I get an error /tmp/sh49843 : cannot open
>
> The /tmp directory has full write access and my user can manually touch
> files in the /tmp directory so I'm not quite sure where to start.
>
> Any pointers in the right direction on this one would be greatly
> appreciated.
>
> Thanks
> Andrew Watson
> jadwatson_at_hotmail.com
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
Received on Tue Jul 03 2001 - 06:47:46 NZST