From 25018088feaa1959065c8e84dbbb5b1e6380064d Mon Sep 17 00:00:00 2001 From: Sietse Snel Date: Mon, 8 Apr 2024 22:32:43 +0200 Subject: [PATCH] Tools: add secure-in-vault rule For use with new copy-to-vault troubleshooting guide in the docs. --- tools/secure-in-vault.r | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tools/secure-in-vault.r diff --git a/tools/secure-in-vault.r b/tools/secure-in-vault.r new file mode 100644 index 000000000..dd4170c5e --- /dev/null +++ b/tools/secure-in-vault.r @@ -0,0 +1,11 @@ +#!/usr/bin/irule -r irods_rule_engine_plugin-irods_rule_language-instance -F +# +# This script can be used to manually secure a data package in the vault after +# it has been fixed manually. The default input parameter values are examples. + +yodaSecureFolder { + rule_folder_secure("*researchCollection","*vaultCollection"); +} + +input *researchCollection="/zoneName/home/research-groupname/packagename", *vaultCollection="/zoneName/home/vault-groupname/packagename[1234567890]" +output ruleExecOut