Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 281 Bytes
#!/bin/bash
cinc="config/includes.chroot"
# first blanket set permissions for everything...
chown -R root:root $cinc
chmod -R a+rX $cinc
# then handle specific exceptions which should be private
chmod -R og-rwx $cinc/etc/ssh/ssh_host*key
chmod -R og-rwx $cinc/etc/skel-jessica