i use this in my .pro file to install a config file to ~/.programrc:
Qt Code:
  1. configfile.path = /${HOME}
  2. configfile.files = .programrc
  3. INSTALLS += configfile
To copy to clipboard, switch view to plain text mode 

This works, "make install" copies the .programrc to $HOME, but the file is owned by root:
Qt Code:
  1. $ ls -l .programmrc
  2. -rw-r--r-- 1 root root 432 2008-05-19 11:02 /home/totycro/.programrc
To copy to clipboard, switch view to plain text mode 

How can i change the ownership of the file to the user during the installation?