add comment about symlink root-escape problem
This commit is contained in:
parent
601fef6874
commit
305476eefe
@ -96,6 +96,9 @@ def rexists(pathname, root=""):
|
||||
return True if rglob(pathname, root) else False
|
||||
|
||||
# TODO: default to strict mode (fatalerrors=True)
|
||||
# XXX NOTE: symlinks to stuff outside inroot/outroot will make us operate
|
||||
# on files outside our roots (e.g. deleting files on the host system).
|
||||
# TODO: operate inside an actual chroot for safety? Not that RPM bothers..
|
||||
class LoraxTemplateRunner(object):
|
||||
def __init__(self, inroot, outroot, yum=None, fatalerrors=False,
|
||||
templatedir=None, defaults={}):
|
||||
|
Loading…
Reference in New Issue
Block a user