I don't have the problem, that I broke the permissions on .wine folder. PhotoScape didn't work as expected when it ran by my user account anyway. The problem occurred from the beginning, so I decided to run it as root, which didn't help. Any other idea?