Skip to content

Commit 3d7a9fc

Browse files
shaohuzhang1wangdan-fit2cloud
authored andcommitted
fix: Function library execution role group (#2358)
1 parent 43e2e5e commit 3d7a9fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/common/util/function_code.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self, sandbox=False):
3131
self.user = None
3232
self._createdir()
3333
if self.sandbox:
34-
os.system(f"chown -R {self.user}:{self.user} {self.sandbox_path}")
34+
os.system(f"chown -R {self.user}:root {self.sandbox_path}")
3535

3636
def _createdir(self):
3737
old_mask = os.umask(0o077)

0 commit comments

Comments
 (0)