Fix logs, chmod, paths.