postinst: make sure file permissions aren't severely broken

notably the case right now where our shadow build broke things

Merge request reports

Loading