Because Gallery runs as part of the webserver, any files it creates are owned by the webserver process. If you want to modify those files yourself, you need to get the webserver to change the permissions on them so that you have access. That's what this script is for. Simply enter the path to your albums directory below and this script will make every file in that path (that it can access) writable by everybody. Then, you can do whatever you want to the files.
Path (on your filesystem) to a file or directory to fix?
(examples: /home/~you/public_html/albums, /var/g2data)