Skip to content

Commit

Permalink
Tools: add secure-in-vault rule
Browse files Browse the repository at this point in the history
For use with new copy-to-vault troubleshooting guide in the docs.
  • Loading branch information
stsnel committed Apr 8, 2024
1 parent b3c4f40 commit 2501808
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tools/secure-in-vault.r
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2501808

Please sign in to comment.