chmod changing _log to 777