fixed logs directory permissions