I have seen this at every company: there are people who value themselves based on their designation and build a wall of ego and pride. They say things like "I know" or walk away without noticing you or saying hi or hello. I consider this egotistical and a big problem. It's not good for the workplace when it is done by those whose responsibility it is to control the environment in the office.
In my current workplace some employees who are more senior, higher-paid, or longer-serving bring their sense of self importance to conversations and feel the need to prove themselves right. Sometimes even they end up doing things wrong which affect others and then another employee - like me or someone else in my department - has to fix things.
How can I deal with such people while keeping the work going smoothly?