Thanks for the suggestions, everyone! I ended up viewing the contents of all the files in the directory that appeared to be config files and noticed there was a reference to /tmp in there. I checked /tmp and found a file belonging to the c++ application that needed to be a+w but wasn't... So it was permissions after all!