fallguyjg
17th August 2011, 18:45
I have a condition where a run.prog statement works for one user 'johnhg' and not for another user 'bsp345' when executed from ba6.1

Here's the statement:

for user 'johnhg'
ret = run.prog("chmod", "+x /fs1/home/johnhg/ztesta", RP_WAIT, "", "", "")

for user 'bsp345'
ret = run.prog("chmod", "+x /fs1/home/bsp345/link", RP_WAIT, "", "", "")

I execute this command "ba6.1 tczcm9490m004", which runs the run.prog statement.
When I execute it as user 'johnhg', it works.
when I execute it as user 'bsp345' it doesn't work.

There is no permission issue, because the chmod works as either user from a unix prompt.

Any help appreciated.
fallguyjg