Editing org.openhab.core.thing.Thing

hello there,
i want to try to edit the org.openhab.core.thing.Thing file.
i run openhab on a raspberry and try through samba to edit the file in windows
now when i try to save the file, i always get the message that i have no rights to save
how can i fix this or is there a another way?

greets BaBa2002

You are trying to edit a JSON file in the userdata folder.
Are you aware of not editing such a file while openHAB is running ?

yes but how can i stop openhab

Depends on how and where you did install openhab.
Information for Linux packet installations can be found here