e9a2c108ccea23f06bcd3821d84ec484cd4ff673
angie
  Wed Jul 2 14:46:24 2014 -0700
hgGene was missing a call to setUdcCacheDir, so it was using /tmp/udcCachewhere it could have ownership conflicts with files left there by command-line
programs etc.

diff --git src/hg/hgGene/hgGene.c src/hg/hgGene/hgGene.c
index feac3e5..6898014 100644
--- src/hg/hgGene/hgGene.c
+++ src/hg/hgGene/hgGene.c
@@ -686,23 +686,24 @@
 	cartWebEnd();
 	}
     hFreeConn(&spConn);
     hFreeConn(&conn);
     }
 cartRemovePrefix(cart, hggDoPrefix);
 }
 
 char *excludeVars[] = {"Submit", "submit", "ajax", hggAjaxSection, NULL};
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
 long enteredMainTime = clock1000();
 cgiSpoof(&argc, argv);
+setUdcCacheDir();
 htmlSetStyle(htmlStyleUndecoratedLink);
 if (argc != 1)
     usage();
 oldVars = hashNew(10);
 cartEmptyShell(cartMain, hUserCookie(), excludeVars, oldVars);
 cgiExitTime("hgGene", enteredMainTime);
 return 0;
 }