chgrp is not usermod (doh)
[bbb-usb.git] / misc / perms.sh
index db63db236667843102a50db973c2771144019553..387d4ac6ed59a4e46277ad62e5594d53a5157928 100755 (executable)
@@ -10,7 +10,7 @@ elif [[ ${#} -ne 2 ]]; then
 fi
 
 set -e
-chgrp -G wsrc $1
+usermod -G wsrc $1
 chmod -R g+rwx /usr/src
 
 echo "permissions set -- relogin"