tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Andrew Watson <jadwatson () hotmail ! com>
To: tru64-unix-managers
Subject: SUMMARY: /tmp file access
Date: Tue, 03 Jul 2001 21:45:39 +0000	[thread overview]
Message-ID: <102653652421632.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2001-07-03 21:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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