Wall in hallway

I recently purchase a landmarked 3-family home that has 4-floors. My issue is that the duplex does not have a wall or doorway in the hallway to seperate it out from the rest of the house (i.e. you can walk in the main enterance, go down the hall, down the stairs and into my kitchen) and the top floor bathroom is only accessable through the hallway.

I’d like to build a wall on the top floor to make the bathroom part of the top floor apartment. It wouldn’t block any of the fire exists or the sprinker.

I’d also like to build a new doorway on the main level to portion out my duplex from the rest of the building so that tenants cannot walk into my house.

What do I do?
Do I need permits?
I’d like to do the work myself, but don’t want to go about this the wrong way.

Help?

By |