vu-rdm-tech / yoda-pilot

A place to track issues we run into in the Yoda pilots
0 stars 0 forks source link

Delete test vaults and publications #30

Open peer35 opened 4 years ago

peer35 commented 4 years ago

We may have to ask Surf to do this. In principle Vaults cannot be deleted, so there is no workflow for this.

peer35 commented 4 years ago

Should be possible as rodsadmin. Ask for the procedure.

See if the test dois can be purged

peer35 commented 3 years ago

Situation, 3 test vaults:

icd /tempZone/home/vault-accept
ils -A
/tempZone/home/vault-accept:
        ACL - g:vault-accept#tempZone:own   g:datamanager-surf#tempZone:read object   g:research-accept#tempZone:read object
        Inheritance - Disabled
  C- /tempZone/home/vault-accept/archive_this[1591195518]
  C- /tempZone/home/vault-accept/archive_this[1592903555]
  C- /tempZone/home/vault-accept/archive_this[1593004621]

Take ownership of the vault folder with account rodsadmin with rodsadmin privileges:

ichmod -Mr own rodsadmin /tempZone/home/vault-accept/

Delete the folders:

irm -r archive_this[1591195518]
irm -r archive_this[1592903555]
irm -r archive_this[1593004621]

Make sure to revoke your access by setting it to null:

ichmod -Mr null rodsadmin /tempZone/home/vault-accept/

ils -A
/tempZone/home/vault-accept:
        ACL - g:vault-accept#tempZone:own   g:datamanager-surf#tempZone:read object   g:research-accept#tempZone:read object
        Inheritance - Disabled