qt, cpp: Fix permissions of Config files