Does anyone know how to copy one files permission mask to another file in Bourne shell?
I'm setting up a script to rollover logs in /var/adm. I want to touch new copies of the log files and then set their privilege masks (and ownership) to be the same as the original log files settings.
I'm setting up a script to rollover logs in /var/adm. I want to touch new copies of the log files and then set their privilege masks (and ownership) to be the same as the original log files settings.