Added use_defaults param to avoid user prompting
Added _set_log_permissions()