Issue #2099467 by moshe weitzman, chx: Let non-interactive installers determine mode of files directory and its subdirectories.