Strange shell behavior in Xgrid sandbox

Discussion in 'Mac Basics and Help' started by schoeke, Mar 2, 2011.

  1. schoeke macrumors newbie

    Mar 2, 2011

    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/ /bin/bash

    bash-3.2$ cd;pwd

    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"

    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.
  2. SandboxGeneral Moderator emeritus


    Sep 8, 2010
    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.

Share This Page