fix: Function library execution role group (#2358)

This commit is contained in:
shaohuzhang1 2025-02-24 10:07:14 +08:00 committed by GitHub
parent ad29a0d85b
commit 8477e957bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,7 +31,7 @@ class FunctionExecutor:
self.user = None
self._createdir()
if self.sandbox:
os.system(f"chown -R {self.user}:{self.user} {self.sandbox_path}")
os.system(f"chown -R {self.user}:root {self.sandbox_path}")
def _createdir(self):
old_mask = os.umask(0o077)