Hi,
Thank you for the replay.
The output is,
$ ls -l frmcmp.sh
-rwxr-x--- 1 oracle oinstall 2653 Dec 31 13:35 frmcmp.sh
$
Regards,
Mathew
--- In [email protected], Ashok <[EMAIL PROTECTED]> wrote:
>
> what does "ls -l frmcmp.sh"
> say ?
>
> mathewcos <[EMAIL PROTECTED]> wrote: Hi,
>
> I installed OracleAS on Solaris 10 as 'oracle' user.
> There is one shelscipt in '/oraas/home/OraHome_mid/bin' directory
> ie; frmcmp.sh
>
> I need to give execute this scrpt as another user 'u1'.
>
> Both 'oracle' and 'u1' belongs to oinstall group.
>
> I did the following steps:
>
> #chmod 750 /oraas/home/OraHome_mid/bin
> #chmod 750 /oraas/home/OraHome_mid/bin/frmcmp.sh
>
> Then I logged in as u1,
> exeuted
>
> #!/bin/sh
> export ORACLE_HOME=/oraas/home/OraHome_mid
> PATH=/usr/bin:/usr/ucb:/etc:.
> export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin:$PATH
> export ORACLE_SID=orcl
>
> $ sh frmcmp.sh
>
> frmcmp.sh: frmcmp.sh: cannot open
>
> Please help me to solve this.
>
> Regards,
> Mat.
>
>
>
>
>
>
> ---------------------------------
> Never miss a thing. Make Yahoo your homepage.
>
> [Non-text portions of this message have been removed]
>