prtcheckperms(1)

NAME
prtcheckperms - check for changed permissions

SYNOPSIS
prtcheckperms

DESCRIPTION
prtcheckperms will iterate through the installed ports and warn if any file on disk has different permissions than what is listed in the footprint.

This test was inspired by the pkgadd(8) bug (FS#63) that allows any package to overwrite permissions of a shared common directory, without a mechanism to keep track of the original permissions in the event that the package is later removed. In order to avoid false positives, permissions on a shared directory must differ from the footprint of every installed port that claims to own the directory. At least one installed port, whose footprint agrees with the actual permissions on disk, is enough to suppress the warning from prtcheckperms (charitably assuming that any ports whose footprints disagree were installed earlier, or that the superuser intervened manually to set the permissions in a way that accommodates all ports).

AUTHORS
John McQuah <jmcquah at disroot dot org>

SEE ALSO
prt-get(8), prtcheckmissing(1)

https://lists.crux.nu/hyperkitty/list/crux-devel@lists.crux.nu/thread/X3QDPEJNUMFGPB62BYOS6IPEYLIA5GXV/