Generally Windows is pretty accurate at describing a folder as read only, which is not an issue with ownership as such but with permissions. Run as administrator solves ownership problems in some cases, but will not affect a read only issue unless the read permission is limited to or includes the hidden administrator account. What version of Windows is in use? The general solution is as previously mentioned to change the folder properties from read only is to navigate to the folder in question, right click properties to reveal the properties menu and then select the security tab and grant read and write permissions (or full access) to the users required. All users works for everyone, otherwise the ability to read and write is limited to the groups/accounts listed. Sonar inherits its permissions from the account you are logged into when you start SONAR, or if you run SONAR as an administrator then it has only the permissions of the hidden administrator account (which is not the same as a named account that is a member of the Administrators Group). If you run Windows under an account that is a member of the Administrators Group, then that group (or Everyone or the particular account name) must have the permissions. If you are running Windows from a NAME account, then NAME (or everyone or the group to which NAME belongs) must have the necessary permissions on the folder. SONAR requires at least read and write access in order to change anything that has been saved.
Long story short, find out what account you are using to run SONAR, find out what folder SONAR is using, find out what the permissions that account has in the folder SONAR is using under the security tab, and make sure that full control is granted to the account you are running.