Spaces:
Sleeping
Sleeping
push cfg_db
Browse files
execution_engine/.ipynb_checkpoints/code_store-checkpoint.py
CHANGED
|
@@ -31,8 +31,8 @@ class CodeStore:
|
|
| 31 |
|
| 32 |
filepath = filepath.resolve()
|
| 33 |
|
| 34 |
-
os.chown(filepath, self.uid, self.gid)
|
| 35 |
-
os.chmod(filepath, 0o775)
|
| 36 |
return filepath
|
| 37 |
|
| 38 |
def read_source_code(self, filepath: Path) -> str:
|
|
|
|
| 31 |
|
| 32 |
filepath = filepath.resolve()
|
| 33 |
|
| 34 |
+
# os.chown(filepath, self.uid, self.gid)
|
| 35 |
+
# os.chmod(filepath, 0o775)
|
| 36 |
return filepath
|
| 37 |
|
| 38 |
def read_source_code(self, filepath: Path) -> str:
|
execution_engine/code_store.py
CHANGED
|
@@ -31,8 +31,8 @@ class CodeStore:
|
|
| 31 |
|
| 32 |
filepath = filepath.resolve()
|
| 33 |
|
| 34 |
-
os.chown(filepath, self.uid, self.gid)
|
| 35 |
-
os.chmod(filepath, 0o775)
|
| 36 |
return filepath
|
| 37 |
|
| 38 |
def read_source_code(self, filepath: Path) -> str:
|
|
|
|
| 31 |
|
| 32 |
filepath = filepath.resolve()
|
| 33 |
|
| 34 |
+
# os.chown(filepath, self.uid, self.gid)
|
| 35 |
+
# os.chmod(filepath, 0o775)
|
| 36 |
return filepath
|
| 37 |
|
| 38 |
def read_source_code(self, filepath: Path) -> str:
|