stream_layered_image: Always set uid and gid to root
This commit is contained in:
parent
fe71abfc12
commit
16199521ea
@ -67,6 +67,10 @@ def archive_paths_to(obj, paths, mtime, add_nix, filter=None):
|
|||||||
|
|
||||||
def apply_filters(ti):
|
def apply_filters(ti):
|
||||||
ti.mtime = mtime
|
ti.mtime = mtime
|
||||||
|
ti.uid = 0
|
||||||
|
ti.gid = 0
|
||||||
|
ti.uname = "root"
|
||||||
|
ti.gname = "root"
|
||||||
return filter(ti)
|
return filter(ti)
|
||||||
|
|
||||||
def dir(path):
|
def dir(path):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user