Hi,
my first post, so please be gentle.
I try to get a certain software to run on Xgrid on a early 2009 Mac Pro with 10.6.6 running. This only as a side remark. My problems lies in the peculiar behavior of the shell:
dynamic-205-040:/private/tmp nobody% sandbox-exec -f /usr/share/sandbox/xgridagentd_task_nobody.sb /bin/bash
bash-3.2$ cd;pwd
/private/tmp
bash-3.2$ sh -c "cd;pwd"
sh: line 0: cd: /private/tmp: Not a directory
bash-3.2$ sh -c "cd /private/tmp"
sh: line 0: cd: /private/tmp: Not a directory
bash-3.2$ bash -c "cd /private/tmp;pwd"
/private/tmp
Is there something that prevents the sandbox from recognizing if the given option is a directory for just _one_ shell? Let me know if you need more information.
Thanks for any help.
Andrej
my first post, so please be gentle.
I try to get a certain software to run on Xgrid on a early 2009 Mac Pro with 10.6.6 running. This only as a side remark. My problems lies in the peculiar behavior of the shell:
dynamic-205-040:/private/tmp nobody% sandbox-exec -f /usr/share/sandbox/xgridagentd_task_nobody.sb /bin/bash
bash-3.2$ cd;pwd
/private/tmp
bash-3.2$ sh -c "cd;pwd"
sh: line 0: cd: /private/tmp: Not a directory
bash-3.2$ sh -c "cd /private/tmp"
sh: line 0: cd: /private/tmp: Not a directory
bash-3.2$ bash -c "cd /private/tmp;pwd"
/private/tmp
Is there something that prevents the sandbox from recognizing if the given option is a directory for just _one_ shell? Let me know if you need more information.
Thanks for any help.
Andrej