feat: complete native BOM and Harness execution acceptance
This commit is contained in:
1 parent
4f8fbd7806
commit
65438cb7e5
234 files changed
+24402
-865
No files matched your search
@@ -0,0 +1,14 @@
|
||||
"""Disposable acceptance roots that preserve the application's inherited ACL.
|
||||
|
||||
Python's Windows tempfile.mkdtemp uses mode 0700; its OWNER RIGHTS-only read
|
||||
grant does not authorize the official Harness restricted shell token.
|
||||
"""
|
||||
from pathlib import Path
|
||||
from uuid import uuid4
|
||||
|
||||
|
||||
def create_workspace_root(parent: Path, prefix: str) -> Path:
|
||||
parent.mkdir(parents=True, exist_ok=True)
|
||||
root = parent / (prefix + uuid4().hex)
|
||||
root.mkdir() # Default inherited ACL, not tempfile's private 0700 ACL.
|
||||
return root.resolve()
|
||||
Reference in new issue
Block a user