Strange shell behavior in Xgrid sandbox

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

  1. schoeke macrumors newbie

    Joined:
    Mar 2, 2011
    #1
    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
     
  2. SandboxGeneral Moderator

    SandboxGeneral

    Staff Member

    Joined:
    Sep 8, 2010
    Location:
    Orbiting a G-type Main Sequence Star
    #2
    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