add explicit permission checks.
authorespie <espie@openbsd.org>
Sun, 25 Feb 2018 14:20:39 +0000 (14:20 +0000)
committerespie <espie@openbsd.org>
Sun, 25 Feb 2018 14:20:39 +0000 (14:20 +0000)
commit8734ed957628863ab34117443f8b0a751fd2397b
tree8f0411a4b452535e762fb475ddb47b227782e844
parentee020fd1ddea39b9e81d58e10a52a0df847b7fe4
add explicit permission checks.
pkg_check is most often run as root. In case of a garbled file systems
it won't notice when permissions are completely wrong.
usr.sbin/pkg_add/OpenBSD/PkgCheck.pm