Bugfix: permissions weren't inherited properly (rev. 13)
Bugfix: rebuild update mode (-r -u) failed when no existing dirlog (rev.
13)

Signed-off-by: nixnodes <code@eth.si>