Error: Invalid value for "-d" / "--project-dir": Path "ABC" is not writable

Hello,
on my linux pc I would like upload the sketch from a USB-Stick (written on my windwows pc) to my board but i get the error:

Usage: platformio run [OPTIONS]
Error: Invalid value for “-d” / “–project-dir”: Path “ABC” is not writable

How i must change the platformio run settings?

It’s possible to open a project from a Fritz NAS server?
It would like to program the sourcecode on a windows pc and upload the code to the Fritz NAS. On a linux pc I would like open the project and upload the code to the board and watch the data in the terminal program.
Thank you so much for the help!

Yes it is possible: for example in /media/Fritz.NAS are the file and so with the platformio you have access to the data.