...
Code Block |
---|
2012-10-15 18:26:27.360 [info] SCHEDULER-918 state=starting (at=2012-10-15 18:26:27.333) 2012-10-15 18:26:27.361 [info] SCHEDULER-987 Starting process: '/bin/sh' '-c' '"/tmp/schedule/sos.w6p0JWABC"' 2012-10-15 18:26:27.475 [info] /tmp/schedule/sos.w6p0JWABC: line 4: ./TDloadFIMTDloadXXX: Permission denied 2012-10-15 18:26:27.475 [info] SCHEDULER-915 Process event 2012-10-15 18:26:27.476 [ERROR] SCHEDULER-280 Process terminated with exit code 126 (0x7E) |
...
Answer
There are two possible solutions acessing a an object belonging to the user "other_user" if you are running on Unix:
- Use
sudo
in the JobScheduler job :sudo -u other_user script_for_other_user.shsudosh
No Format Make sure that _other_user_ doesn't need a password for sudo. This is done by editing the _sudoers_ file.
- Use the JobScheduler's
setuid
executible. This is described:
...