Skip to content
  • Timo Teräs's avatar
    audit: fix protection mask of non-db directories · ea5b08d1
    Timo Teräs authored
    If a directory has protection mask, but does not exist in db, we
    do not handle it right unless we calculate the protection mask by
    hand, or create temporary db dir entry for it. For simplicity create
    always the db dir entry -- depending on audit type we likely need
    to create it anyway. This commit also caches the db dir entry in the
    audit tree context to avoid duplicate lookups. ref #1241.
    ea5b08d1