freebsd-dev/usr.sbin/etcupdate
John Baldwin f8287caae4 etcupdate: Preserve permissions when installing a resolved file.
Similar to the change in 1a04446f08, use
cat to overwrite the contents of the existing file rather than cp so
that metadata of the existing file such as permissions and ownership
is preserved.

PR:		255514
Reported by:	uqs
MFC after:	1 week
2022-05-25 14:20:40 -07:00
..
tests
etcupdate.8 etcupdate: Add -D destdir to usage for 'extract'. 2021-04-26 09:49:34 -07:00
etcupdate.sh etcupdate: Preserve permissions when installing a resolved file. 2022-05-25 14:20:40 -07:00
Makefile
Makefile.depend