opnsense-src/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 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-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 Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00