summaryrefslogtreecommitdiff
path: root/scripts/setperms
blob: 120666e918164d1ae50f322803557d767cb83009 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# Fix ownership and permissions of binaries, for testing before installation.

set -e

[ -x schroot/schroot ] && chown root:root schroot/schroot && chmod +s schroot/schroot
[ -x dchroot/dchroot ] && chown root:root dchroot/dchroot && chmod +s dchroot/dchroot
[ -x dchroot-dsa/dchroot-dsa ] && chown root:root dchroot-dsa/dchroot-dsa && chmod +s dchroot-dsa/dchroot-dsa