From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653652421632.tru64-unix-managers.marc@archive.invalid> From: Andrew Watson Date: Tue, 03 Jul 2001 21:45:39 +0000 To: tru64-unix-managers Subject: SUMMARY: /tmp file access X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653652421632 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@hotmail.com > > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. >