#!/bin/sh
# Sets correct permissions on shared bien files
selfDir="$(dirname -- "$0")" # dir of symlink $0, not this script itself
cd "$selfDir"
chgrp -R bien .
find . -type d -exec chmod g+s "{}" \; # files shouldn't be setgid
chmod -R g+w .