When connected via a USB data cable to a Mate Desktop Linux, my Nokia 6 prompts whether to allow file transfer. The default is recharge only.
The USB options appear in a notification in the top menu on the phone.
I did not install additional drivers on the PC. Phone as modem via USB works too with the standard drivers in Linux (it mimics an Ethernet connection).