I haven´t used coppermine in a while, but if my memory don´t fail, I think I set it to 777 (I think 666 should work too), uploaded my images to the server, ran the batch add option, then set it back to the original permission.
As for Wordpress, download the file to your own computer, make the changes/add code etc, reupload it and you would not need to change any permission.