Search Unity

sandbox is not running as root

Discussion in 'Linux' started by miniduck, Aug 1, 2016.

  1. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    Hello

    We are trying to get the Linux version installed and running.
    Is there any way to launch the editor without giving root access to the sandbox process?

    Thanks
     
  2. Tak

    Tak

    Joined:
    Mar 8, 2010
    Posts:
    1,001
    No, the chrome-sandbox executable must be owned by root with suid permissions.
     
  3. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    Hi,
    We have successfully been using this now with local machine installs. However moving the install to a network mount is now throwing the following in editor log (the "non running as root" pop up does not show, instead it hangs)

    4755 on chrome-sandbox. SUID set - exactly the same as local install under /opt/
    ll /network/install/unity/linux_64/5.5/Editor/chrome-sandbox
    -rwsr-xr-x 1 root root 23715 Nov 25 16:20 Editor/chrome-sandbox
    stat -c "%a %n" /network/install/unity/linux_64/5.5/Editor/chrome-sandbox
    4755 Editor/chrome-sandbox

    Log:

    strace:

     
    Last edited: Mar 7, 2017
  4. MaliceRock

    MaliceRock

    Joined:
    May 4, 2017
    Posts:
    2
    Check the /etc/fstab on the system. On the partition that contains Unity(and the chrome-sandbox), is there nosuid option? If it is there, remove it. That's what solved this problem for me.