How to create .Deb pkg such that it should has access read write permission in /opt/myprogram

147 Views Asked by At

I'm developing application that is installing in /opt folder. My application fetches .zip file and tries to write in /opt/myprogram/ but it is failing due to permission issues. If I run as root it will work. So how can I create Deb package such that it has full read and write permission for that user under /opt/myprogram

0

There are 0 best solutions below