diff --git a/aurmr_setup/core/workspace.py b/aurmr_setup/core/workspace.py index 398c595..a11bec4 100644 --- a/aurmr_setup/core/workspace.py +++ b/aurmr_setup/core/workspace.py @@ -133,6 +133,13 @@ def install(self, package): cmd = f"mamba install {package}" subprocess.run(cmd, check=True, shell=True) + def lock(self): + cmd = f"chmod -R -w $HOME/miniconda3/envs/{self.workspace_name}" + subprocess.run(cmd, check=True, shell=True) + cmd = f"chmod -R -w $HOME/workspaces/{self.workspace_name}/src" + subprocess.run(cmd, check=True, shell=True) + + def import_from_archive(self): """ """ import shutil