fixed log dir permissions