diff --git a/osbuild/pipeline.py b/osbuild/pipeline.py index ee6a4a4a..94b96030 100644 --- a/osbuild/pipeline.py +++ b/osbuild/pipeline.py @@ -189,7 +189,7 @@ class Pipeline: yield tree else: with tempfile.TemporaryDirectory(dir=object_store.store) as tmp: - subprocess.run(["mount", "-o", "bind,ro,mode=0755", "/", tmp], check=True) + subprocess.run(["mount", "--make-private", "-o", "bind,ro,mode=0755", "/", tmp], check=True) try: yield tmp finally: