Hi,
Thanks for that.
I could write quite a simple bit of bash for the %post section that uses the hostname to determine if it is a prod, test or dev install. From that I can work out which account to chown the files to.
However, from within the %post section how can I enumerate the files being dropped by the RPM? Without that I will have hard code all the files in the chown command (or top level directories if I'm using 'chown -R'), which is a problem for maintainability.
Thanks,
Rotty
|