Q:

Revert changed ownership of files under /usr, Void Linux

Having lost my mind I did chown -R root:root /usr on a Void Linux system
Would someone be so nice as to mail me the results of ls -lR /usr on a Void system. I'll go over the changes, make everything work again, and post my findings here in this question.
Based on the reply by msp9011, and realizing I need the info for an xfce4, networkmanager system, please post the results from:
find /usr/ \(  -perm -4000 \)  -exec ls -l {} +

and
find /usr/ \( ! -group root \)  -exec ls -l {} +

Could you share the results somewhere ?
P.S. just reinstalling Void is a pain, because I'm on an extended road trip, and my internet access is generally by cellular, or bad wifi.

A:

I restored the permissions via an Void live usb stick!
I did a find /usr -printf "0%m %u:%g %p\n" > permissions-all to generate a file with all the permissions in /usr. 
Then booting from the borked install I used a simple bash script to restore all permissions.
The xbps-install -f is problematic if you have very poor  connectivity and you want restore large parts of your system like xfce4.
Thank you all for thinking along and I learned a lot!
head of /usr/permissions-all
0755 root:root /usr
0755 root:root /usr/lib
0755 root:root /usr/lib/libimobiledevice.so.6.0.0
0777 root:root /usr/lib/libsoxr.so.0
0777 root:root /usr/lib/libXvMCr600.so.1.0
0777 root:root /usr/lib/libwebpmux.so.3
0755 root:root /usr/lib/audit
0755 root:root /usr/lib/audit/sotruss-lib.so
0777 root:root /usr/lib/libfontenc.so.1
0755 root:root /usr/lib/libvulkan_radeon.so
0755 root:root /usr/lib/libthunarx-3.so.0.0.0
0777 root:root /usr/lib/libturbojpeg.so.0

script restore-permissions.sh
#!/bin/bash
set -e
while read p ug f
do
    if [ -e "$f" ] ; then
        ug_=$(find "$f" -maxdepth 0 -printf "%u:%g")
        p_=$(find "$f" -maxdepth 0 -printf "0%m")
        if [ "$ug_" != "$ug"  ] ; then
            echo "$f wrong ug $ug_ should be $ug, fixing"
            chown $ug "$f"
        fi
        if [ "$p_" != "$p"  ] ; then
            echo "$f wrong perms $p_ should be $p, fixing"
            chmod $p "$f"
        fi
    fi
done < permissions-all

I've added my permissions-all and the restore-script to a public google-drive folder so anyone that has the same problem can try it. The file is from the most recent void xfce4 live disk.
Here google-drive is the data.

