Sops permission error creating secrets file

Hopefully this is simple, sops is configured so far as I can see, it opens a new template secret file in nano but it opens to temp and I cannot save it throwing a permission denied error.

I should add I have tried creating a secrets folder and allocating user with access however ther result was unsuccessfull

Any help appreciated.

You might get more help if you provide some more details.