fix: Function library execution role group (#2358)
This commit is contained in:
parent
ad29a0d85b
commit
8477e957bd
@ -31,7 +31,7 @@ class FunctionExecutor:
|
|||||||
self.user = None
|
self.user = None
|
||||||
self._createdir()
|
self._createdir()
|
||||||
if self.sandbox:
|
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):
|
def _createdir(self):
|
||||||
old_mask = os.umask(0o077)
|
old_mask = os.umask(0o077)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user