I created a Debian package, I want to install the files to the directory
/home/user/myapp instead of
but after install the deb, the owner of
/home/user/myapp is root
I hope after install the deb, the owner should be user, so I add postinst to do the post-work:
#postinst chown -R user /home/user/myapp
but I always got an error "chown: ... Operation not permitted"