Subject: bug#53534: 28.0.91; on netbsd 'gmake install' outputs 'find: chown: No such file or directory'

From: Glenn Morris <[email-masked]>
Date: Wed, 26 Jan 2022 13:02:19 -0500

Glenn Morris wrote:

> 3) Only run chown if UID = 0, and use chown root:root rather than the
> current installuser logic, which seems broken (I notice now that most of
> my emacs installations in /usr/local/share are owned by my user account
> instead of root).

PS Also, prepend /usr/sbin:/sbin to PATH when running chown.
The whole tar+chown business seems rather ugly.