stream_layered_image: Always set uid and gid to root

This commit is contained in:
Utku Demir
2020-06-21 12:23:55 +12:00
parent fe71abfc12
commit 16199521ea

View File

@@ -67,6 +67,10 @@ def archive_paths_to(obj, paths, mtime, add_nix, filter=None):
def apply_filters(ti):
ti.mtime = mtime
ti.uid = 0
ti.gid = 0
ti.uname = "root"
ti.gname = "root"
return filter(ti)
def dir(path):