MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / write_allowed_files

Function write_allowed_files

e2e/python/test_sandbox_policy.py:370–375  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

368 return pwd.getpwuid(os.getuid()).pw_name
369
370 def write_allowed_files() -> str:
371 from pathlib import Path
372
373 Path("/sandbox/allowed.txt").write_text("ok")
374 Path("/tmp/allowed.txt").write_text("ok")
375 return "ok"
376
377 spec = datamodel_pb2.SandboxSpec(policy=_policy_for_python_proxy_tests())
378

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected