Update permissions on changes. Appended .log to the end of log file