freebsd-src/usr.sbin/etcupdate
John Baldwin 8660d530f7 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

(cherry picked from commit f8287caae4)
2022-07-13 11:00:50 -07:00
..
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
etcupdate.8 etcupdate: Add -D destdir to usage for 'extract'. 2021-06-09 14:19:39 -07:00
etcupdate.sh etcupdate: Preserve permissions when installing a resolved file. 2022-07-13 11:00:50 -07:00
Makefile Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
Makefile.depend