Using mobaxterm

Permission denied errors when attempting to save a file using mobaxterm. Probably because it was not opened using sudo ?? Any editor to solve this problem or is there a work around with mobaxterm

Write all files to your /home/xxx and then move them with sudo where needed.

Much better then nano . Thanks