stream_layered_image: Always set uid and gid to root
This commit is contained in:
parent
fe71abfc12
commit
16199521ea
1 changed files with 4 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue