Sharing folder and it's top level rems

Hello, how can I share folder with it’s top level rem?