I zipped a folder in Windows. The folder contains files and sub-folders.

I copied and extracted the zipped file to two Ubuntu machines: Ubuntu-A and Ubuntu-B. (I extracted them exactly the same way.)

[![enter image description here](https://i.stack.imgur.com/N6nG1.png)](https://i.stack.imgur.com/N6nG1.png)

In Ubuntu-A the extracted output follows the same original folder structure of the original source in Windows. However, with Ubuntu-B the extracted output is flattened. All the subfolders are gone and instead all the files are extracted together inside just one folder.

I need Ubuntu-B to extract like Ubuntu-A. I'm not sure why they behave differently. Both machines are using built-in Archive Manager, that uses File Roller.