Hi all, I¹m trying to get a little clarity on Fuseki2¹s ³read-only" mode and what that really means.
Right now I want my database to be "read only", so (per the instructions) I always exclude the --update option when starting so as to start my server in ready only mode. This is confirmed because fuseki2 starts with the following output: > [2015-06-02 11:18:27] Server INFO Running in read-only mode for /ds > [2015-06-02 11:18:27] Server INFO Fuseki 2.0.0 2015-03-08T09:49:20+0000 > [2015-06-02 11:18:27] Config INFO > FUSEKI_HOME=/home/jcwitt/apache-jena-fuseki-2.0.0 > [2015-06-02 11:18:27] Config INFO > FUSEKI_BASE=/home/jcwitt/apache-jena-fuseki-2.0.0/run > [2015-06-02 11:18:27] Servlet INFO Initializing Shiro environment > [2015-06-02 11:18:27] Config INFO Shiro file: > file:///home/jcwitt/apache-jena-fuseki-2.0.0/run/shiro.ini > [2015-06-02 11:18:27] Config INFO Template file: templates/config-tdb-dir > [2015-06-02 11:18:28] Config INFO TDB dataset: > directory=/home/jcwitt/scta-builds/Build-2015-06-02-2.0 > [2015-06-02 11:18:28] Builder INFO Service: TDB /ds > [2015-06-02 11:18:28] Config INFO Register: /ds > [2015-06-02 11:18:28] Server INFO Started 2015/06/02 11:18:28 EDT on port > 8088 > However, if I navigate (in the browser) to fuseki admin page there is an option to upload files. I tried to test whether the db was read-only¹ by uploading a small file of rdf/xml triples from my local machine called ³am-projectdata.rdf.² To my surprise, it was successful. The console log seems to confirm this: > [2015-06-02 10:59:14] Fuseki INFO [18] Filename: am-projectdata.rdf, > Content-Type=application/rdf+xml, Charset=null => RDF/XML : Count=384 > Triples=384 Quads=0 > [2015-06-02 10:59:14] Fuseki INFO [18] 200 OK (153 ms) So I¹m wondering, has this file just be added to by TDB dataset? I definitely don¹t want that to happen. I would have thought ³read-only² would prohibit precisely this. Am I missing something? I appreciate any clarification you can provide. jw > > -- Dr. Jeffrey C. Witt Philosophy Department Loyola University Maryland 4501 N. Charles St. Baltimore, MD 21210 www.jeffreycwitt.com <http://www.jeffreycwitt.com/>
