summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/unschroot_fs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/unschroot_fs.py b/examples/unschroot_fs.py
index a07f32d..1487955 100755
--- a/examples/unschroot_fs.py
+++ b/examples/unschroot_fs.py
@@ -145,6 +145,7 @@ class TarSourceChroot(SourceChroot):
childsock.close()
os.setgid(0)
os.setuid(0)
+ os.mkdir("./dev", mode=0o755)
for tmem in tarf:
if not tmem.name.startswith(("dev/", "./dev/")):
tarf.extract(tmem, numeric_owner=True)