+# Remove symlinks for users that have wrong permissions
+find /afs/hcoop.net/user -mindepth 3 -maxdepth 3 -noleaf -exec \
+ sh -c "test ! -e {}/.hcoop-git || \
+ ! { fs la {}/.hcoop-git | \
+ egrep '^ +system:anyuser .*r' > /dev/null; } && \
+ rm -f /var/cache/git/\$(basename {}) 2>/dev/null" \;
+