Thread
:
Need help making .deb package - file owner/permissions
View Single Post
rally25rs
2008-04-03 , 16:47
Posts: 32 | Thanked: 4 times | Joined on Jul 2007
#
1
Just a quick question to those of you who understand how the debian packaging system works (sorry, I'm normally a Java and .NET programmer, and deal typically with windows installs for work).
What would be the apropriate way to chown / chgrp / chmod a file that is being installed?
For example, I want my program to run on a config file located in the users home dir. Lets call it:
~/.myConfig
Currently, this file ends up in the correct location (/home/user/.myConfig) but is owned by root. How do I, at install time, chown it to 'user', chgrp it to 'users' (or the curent user/group, really) and possibly chmod it?
Thanks for any advice!
Quote & Reply
|
The Following User Says Thank You to rally25rs For This Useful Post:
rally25rs
View Public Profile
Send a private message to rally25rs
Find all posts by rally25rs