Permission denied on editing via wincp or putty

hey all

I am new at OSMC …

i am trying to edit file (sources.list) but get Permission denied error …

any idea ?

Thanks
Shahar

You need to preface your command with sudo.

sudo nano sources.list

But if you don’t understand sudo, why would you be editing sources.list?