chgrp is not usermod (doh)
authorkremlin <ian@kremlin.cc>
Sat, 11 Feb 2017 04:45:36 +0000 (22:45 -0600)
committerkremlin <ian@kremlin.cc>
Sat, 11 Feb 2017 04:45:36 +0000 (22:45 -0600)
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"