chmod problem
807557Feb 12 2008 — edited Feb 15 2008Hi,
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
#!/usr/bin/sh
ORACLE_HOME=/oraas/home/OraHome_mid
export ORACLE_HOME
PATH=/usr/bin:/usr/ucb:/etc:.
PATH=$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin:$PATH
export PATH
ORACLE_SID=orcl
export ORACLE_SID
$ sh frmcmp.sh
frmcmp.sh: frmcmp.sh: cannot open
Please help me to solve this.
Regards,
Mat.