Try making a copy of the ini file, rename the original file and rename the new file to what the old one was called. I'm sure I could have explained that a lot easier!
Make sure you're not running Mame32 when you're playing with the permissions as well cause that might screw it up.