Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

schoeke

macrumors newbie
Original poster
Mar 2, 2011
2
0
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
 
I tried to Google your issue and kept coming up with your posts of the same problem on other sites. Have you found the answer yet? Perhaps with my bumping this post, someone on MR may see it and can assist.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.