tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: /tmp file access
@ 2001-07-03 21:45 Andrew Watson
  0 siblings, 0 replies; only message in thread
From: Andrew Watson @ 2001-07-03 21:45 UTC (permalink / raw)
  To: tru64-unix-managers

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.
>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-03 21:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-03 21:45 SUMMARY: /tmp file access Andrew Watson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox