-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"No such file or directory" issue when trying to run C# program using Dotnet #146
Comments
In this case, you need to provide |
@gollux thanks for the reply. Attached is the |
Look at Isolate's configuration file and find the UID range used for sandboxes. Add corresponding entries to passwd. |
Hey @gollux I am not very clear with how to make the entry there in etc/passwd as the created user info is not known. Following fields are required separated by colon (:)
I am not able to find out the process id nor the uid/gid when the isolate command is run.
Please help @gollux |
You do not need a process ID, just the user ID. You can determine it by running |
Thanks @gollux. After making the required entry in the /etc/passwd, the issue is resolved and dotnet commands are working inside isolate. But everytime making an entry in the /etc/passwd for every code execution is not great idea. I hope we can find a more optimal solution for this. |
Just add the required users to |
isolate --cg -p --chdir=CSHARP11_BASIC/src --open-files=1024 -E HOME=tmp --box-id=555 --run -- /usr/local/dotnet-sdk/dotnet run
Thank you in advance
The text was updated successfully, but these errors were encountered: