copy_a_file not preserving file ownership etc

Hi, Just wondering if there is a way to preserve ownership/group/permission when copying file using JASS_FILES variable?
[154 byte] By [pat123] at [2007-11-25 22:34:55]
# 1

That's a bug with copy_a_file

As a workaround, you can call change_owner() and change_mode() in /opt/SUNWjass/Finish/install-templates.fin (or a new .fin script you write yourself)

For example:

<div class="pre"><pre>

copy_files "${JASS_FILE_LIST}"

change_owner root:root /path/to/some/file

change_mode 400 root:root /path/to/some/file

</pre></div>

danx at 2007-7-5 2:53:13 > top of Java-index,General,Sun Alert and Security Discussion...