If your duplicate system is truly duplicate then you may have a chance with running

getfacl -R . >perms.bak

on the good system in / and then on the bad one

setfacl --restore=perms.bak