2016-09-30 4 views
0

Je dois accorder des permissions, charger des données RDF et insérer, modifier et supprimer certains des triplets, en script (pas interactivement via Virtuoso Conductor).Comment scripter des permissions d'autorisations SPARQL dans Virtuoso

I accorder des autorisations pour la version Virtuoso 7.1.0.3207, et il a bien fonctionné:

isql VERBOSE=$VERB ERRORS=stdout ECHO=$VERB "exec=grant execute on DB.DBA.SPARQL_MODIFY_BY_DICT_CONTENTS to \"SPARQL\";" 

isql VERBOSE=$VERB ERRORS=stdout ECHO=$VERB "exec=grant execute on DB.DBA.SPARQL_MODIFY_BY_DICT_CONTENTS to \"SPARQL_UPDATE\";" 

isql VERBOSE=$VERB ERRORS=stdout ECHO=$VERB "exec=grant execute on DB.DBA.SPARQL_DELETE_DICT_CONTENT to \"SPARQL\";" 

isql VERBOSE=$VERB ERRORS=stdout ECHO=$VERB "exec=grant execute on DB.DBA.SPARQL_DELETE_DICT_CONTENT to \"SPARQL_UPDATE\";" 

isql VERBOSE=$VERB ERRORS=stdout ECHO=$VERB "exec=grant execute on DB.DBA.SPARQL_INSERT_DICT_CONTENT to \"SPARQL\";" 

isql VERBOSE=$VERB ERRORS=stdout ECHO=$VERB "exec=grant execute on DB.DBA.SPARQL_INSERT_DICT_CONTENT to \"SPARQL_UPDATE\";" 

isql VERBOSE=$VERB ERRORS=stdout ECHO=$VERB "exec=grant execute on DB.DBA.L_O_LOOK to \"SPARQL\";" 

isql VERBOSE=$VERB ERRORS=stdout ECHO=$VERB "exec=grant execute on DB.DBA.L_O_LOOK to \"SPARQL_UPDATE\";" 

Mais il semble ne fonctionne pas pour la version 7.2.4.2.3217 Je suis message d'erreur en supprimant triplets .

Virtuoso 42000 Error CL...:SECURITY: No SPARQL_UPDATE permission to use RDF loader

Comment puis-je résoudre ce problème? aidez s'il vous plaît.

Merci, Yan

Répondre

0

Avec le peu d'informations ici, je pense que cela peut résoudre votre problème -

isql VERBOSE=$VERB ERRORS=stdout ECHO=$VERB "exec=grant SPARQL_UPDATE to \"SPARQL\";" 

Sinon, vous pouvez obtenir une réponse plus rapide (pour édition Open Source) à travers le Virtuoso Users mailing list ou (pour l'édition commerciale et/ou le contrat de support VOS) via un OpenLink Support Case.

(ObDisclaimer. OpenLink Software produit Virtuoso et moi emploie)

+0

non, cela n'a pas aidé. Mais merci pour votre conseil, je vais demander à la liste de diffusion Usere. –