The Following User Says Thank You to rally25rs For This Useful Post: | ||
![]() |
2008-04-03
, 17:39
|
Posts: 179 |
Thanked: 90 times |
Joined on Dec 2007
|
#2
|
What would be the apropriate way to chown / chgrp / chmod a file that is being installed?
![]() |
2008-04-03
, 18:20
|
Posts: 118 |
Thanked: 26 times |
Joined on Feb 2008
|
#3
|
![]() |
2008-04-04
, 02:52
|
Posts: 32 |
Thanked: 4 times |
Joined on Jul 2007
|
#4
|
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!