pattersonkl / google-refine

Automatically exported from code.google.com/p/google-refine
0 stars 0 forks source link

Read-only home folder under *nix #296

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm trying to keep the program folder read-only stored under root superuser. 
I've found that jython writes class cache into 
webapp/extensions/jython/module/MOD-INF/lib/cachedir folder so I had to set 
chmod 777 on that folder.

But I've found that there is an option that explicitly sets jython cache 
directory.

You could add the following line 

  add_option "-Dpython.cachedir=$HOME/.local/share/google/refine/cachedir"

right after the existing line

  add_option "-Dpython.path=$JYTHONPATH"

So the cache will be written right next folder to workspace settings file

Original issue reported on code.google.com by mazurkin on 27 Dec 2010 at 3:55

GoogleCodeExporter commented 8 years ago

Original comment by stefa...@google.com on 27 Dec 2010 at 7:11

GoogleCodeExporter commented 8 years ago

Original comment by tfmorris on 19 Sep 2012 at 11:34