diff options
author | Helmut Grohne <helmut@subdivi.de> | 2025-07-12 15:24:05 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2025-07-12 15:24:05 +0200 |
commit | c9e22969a01eecc6ff1865e7486b1ee198e4acbc (patch) | |
tree | 13bf5785bca990d451361a96b3fea57752ab60c0 | |
parent | c97c6de178e727efdad42f08f6354d958fdb6b0d (diff) | |
download | python-linuxnamespaces-c9e22969a01eecc6ff1865e7486b1ee198e4acbc.tar.gz |
examples/unschroot_fs.py: Some base tar lack /dev
-rwxr-xr-x | examples/unschroot_fs.py | 1 |
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) |