Since you’re on Ubuntu Core, nano is strictly confined. It wouldn’t have access to system files. Can you edit a copy in your home directory, save it, then copy it back?
alternatively you could have installed nano with the --devmode flag to make it run unconfined (connect all its interfaces anyway, else it spams your log with “ALLOWED” messages)