+function check_permissions () {
+ echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx checking descriptions "
+ for arg in "$@" ; do
+ # accept args like plcapi or plcapi.git
+ b=$(basename $arg .git)
+ git=${b}.git
+ echo -n "$git "
+ chown -R root:onelab $git
+ chmod -R g+w,o-w $git
+ done
+ echo ""
+}
+