I have a very good working relationship with my colleagues at the office. A healthy workspace is something I place a lot of value on, so much so that my decision to leave my last employment was as a direct function of the work environment and culture of the organisation.
That being said I have come to see the establishment of boundaries over time as not just important but necessary. The fact that we are respectful and friendly towards one another does not substitute the expected professionalism from the workplace. I am especially weary of sharing too much personal information.
My office as with most other offices has an element of rivalry amongst staff. There is the performance side of things, then there's also the internal power play especially across departments. There's a lot of gossiping too, and while I do engage in chit chat from time to time, I see no advantages of engaging in idle gossip especially when it involves spreading rumors or slander.
So to an extent am able to detach and am grateful for that. I think my colleagues have come to accept my friendly demeanor while noting the boundaries I have set. It doesn't mean I rule out the possibility of building genuine connections from the office, but I've come to accept the fact that as adults we all come to the workspace with very different objectives and motivations, and sometimes it is best to just stick to the job.