The best place to check if you have all permissions set is the Permission Checks in the control panel. That will check everything that actually needs to be writable by any portion of the script.