Share Drives
Sharing a drive grants another user access to that drive's encryption key. Sharing is not a filesystem permission that the server enforces on your behalf: because tiCrypt stores only ciphertext it cannot decrypt, the only way for someone else to read a drive is for them to hold a key for it. This is why sharing requires the Get drive keys (needed to share and attach drives) permission, and why the effect of sharing is different from what a shared folder does elsewhere.
Why sharing hands over a key
The server cannot grant access on your behalf. On a conventional system, an administrator can add someone to an access list and the filesystem enforces it. In tiCrypt the data at rest is opaque to the server, so access is granted by giving out a key rather than by editing a list. The practical consequence is that sharing is an act by the data owner, not by an administrator.
Revoking access stops future mounts, not past reads. Unsharing removes a user's ability to mount the drive from that point on. It cannot retract what they have already decrypted and read. Treat sharing as a disclosure decision, not a reversible toggle.
Co-owning a VM implies drive access. Adding a user as a co-owner of a VM configuration gives them access to that VM's drives, because co-owners need drive access to manage the machine. If you want a colleague to use a machine without reading everything on it, give them a lower VM role rather than co-ownership.
Project tags on a drive are a classification, not a label. Tagging a drive with a project records which regulatory regime its contents fall under, which is what makes the audit trail meaningful. Removing or forcing a project tag is a declassification action and requires the corresponding project-management permission.
Before you begin
- You have the Share drives and Get drive keys (needed to share and attach drives) permissions.
- If the drive is tagged with a project, you are active in that project. Share and Unshare from everyone else are not offered otherwise.
- The recipient is an active user. Project membership is not required to receive a share, but for a project-tagged drive the recipient can use the drive only while their membership in that project is satisfied.
- The drive is not attached to any VM if you are changing its project.
Add or Change a Project in a Drive
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Drives section on the top left panel.
- Select the drive to add or change the project.
- Click the menu in the top right corner of the drive's details panel.
- Select Change project.
- In the pop-up, select a project to tag the drive.
- Click Classify.
Check your changes in the drive. The project tag name displays by the drive in the list or in the drive details under the drive owner name.
Forcefully Add or Change a Project in a Drive
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Drives section on the top left panel.
- Select the drive to add or change the project.
- Click the menu in the top right corner of the drive's details panel.
- Select Change project.
- In the pop-up, tick Use my permission to override rules, re-tag resources with any visible project, regardless of current project relations.
- Select any project to tag the drive.
- Click Force change with admin privilege.
Forcefully tagging a drive with a project is only available to users with the Tag anything with any project permission.
Remove a Project from a Drive
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Drives section on the top left panel.
- Select the drive to remove the project from.
- Click the menu in the top right corner of the drive's details panel.
- Select Change project.
- In the pop-up, select No project (unlocked) to remove the project tag from the drive.
- Click Declassify.
If you have the Tag anything with any project permission, you can use the Force change with admin privilege option to forcibly remove a project tag, even from a project you do not belong to.
Share a Drive with Other Users
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Drives section on the top left panel.
- Select the drive to share.
- Click the menu next to the selected drive in the left panel list.
- Select Share.
- In the prompt, click the Share with a user button in the top right corner.
- In the pop-up, search with Filter by name or email…, then select the users to share the drive with.
- Click Share with followed by the number of users.
- Once done, click Close.
tiCrypt shows "Shared with" followed by the number of users, and "• N failed" if some shares failed. Each new user is listed with Read-only access.
- You can share a drive with any user, subject to your own sharing permissions. If the drive is tagged with a project, the recipient can use it only while their membership in that project is satisfied.
- Every new share is read-only. To let a user write to the drive, change their access to Full access afterwards. See Give Full-Access (Read-Write) of a Drive to a User.
- Share acts on one drive at a time.
The Share prompt lists the users who hold a key for the drive, newest first. Each row shows the user's name and email, the date the drive was shared with them, an access drop-down (Read-only or Full access), and a button to unshare. Use Filter by name or email… and Filter by access mode to narrow the list. If the drive is not shared with anyone, the prompt shows "This drive is not shared with anybody."
If you hold only a read-only key for the drive, the prompt explains that only users with read-write keys can add keys, and Share with a user is not offered.
Give Full-Access (Read-Write) of a Drive to a User
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Drives section on the top left panel.
- Select the drive to give full-access to.
- Click the Share button in the top panel.
- In the prompt, select Full access from the drop-down next to the shared user(s).
- Once done, click Close.
The user can now attach the drive read-write.
tiCrypt changes access by deleting the user's key and sharing the drive again with the new access. If that fails and the previous key cannot be restored either, the error ends with "and their previous key could not be restored, so they no longer have access". Share the drive with the user again.
Give Read-Only Access of a Drive to a User
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Drives section on the top left panel.
- Select the drive to give read-only access to.
- Click the Share button in the top panel.
- In the prompt, select Read-only from the drop-down next to the shared user(s).
- Once done, click Close.
The user can attach the drive read-only only.
If the user co-owns a VM configuration that attaches this drive read-write, tiCrypt asks first. The Make a VM co-owner's key for this drive read-only? prompt lists each such user and configuration, marks the ones whose VM is running with "(VM running)", and explains: "They will no longer be able to use this drive read-write in those VMs. The owner of each VM will see a Repair prompt for the drive; repairing it re-shares the drive key with the co-owners." Click Make read-only to continue.
Edit Drive Details
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Drives section on the top left panel.
- Select the drive to edit.
- Click the Edit drive button in the top panel list.
- In the prompt, edit the drive name, team, backup settings, and other advanced options. The project and realm cannot be changed here.
- Click Update followed by the drive name.
For the fields, restrictions, and messages of this prompt, see Edit Drive Details on the Drives Table page.
Migrate a Drive to a Different Storage Pool
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Drives section on the top left panel.
- Select the drive to migrate.
- Click the Migrate drive button in the top panel list.
- In the Migrate drive
drive-nameprompt, select the destination pool. Each pool is listed with its type and location. - Click Migrate.
The task Migrate drive-name runs, and the drive's state is
Transferring until the migration ends.
Bulk Email Drive Owners
bulk-action
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Drives section on the top left panel.
- Select the drive(s) whose owners you want to email.
- Click the menu next to the selected drive in the left panel list.
- Select Bulk email.
- In the prompt, click Download to download the drive owner emails to your local machine.
- Click Copy to copy the drive owner emails to your clipboard.
- Once done, click Close.
Transfer Ownership of the Drive to a Different User
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Drives section on the top left panel.
- Select the drive to transfer ownership.
- Click the menu next to the selected drive in the left panel list.
- Select Transfer ownership.
- In the Transfer ownership of
drive-nameprompt, select the user in the New Owner field. Only users who hold Full access to the drive are offered. - Click Transfer ownership.
The task Change ownership of drive-name runs, and the selected user becomes the
drive's owner.
To transfer drive ownership, you must first grant Full access to the drive to the user(s) you want to transfer ownership to.
Unshare the Drive with a User
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Drives section on the top left panel.
- Select the drive to unshare with a user.
- Click the Share button in the top panel.
- In the prompt, filter the users by name or email.
- Click the Delete button by the user you want to remove from sharing the drive with.
- Once done, click Close.
tiCrypt shows "user-name no longer has access".
If the user co-owns a VM configuration that uses this drive, tiCrypt asks first. The Remove a VM
co-owner's access to this drive? prompt lists each such user and configuration, marks the ones
whose VM is running with "(VM running)", and explains that they will lose access to this drive in
those VMs and that the owner of each VM will see a Repair prompt for the drive. Click
Remove access to continue. If tiCrypt cannot check, it shows "Failed to check whether
user-name co-owns VMs using this drive".
Unshare the Drive with All Users
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Drives section on the top left panel.
- Select the drive to unshare from everyone else.
- Click the menu next to the selected drive in the left panel list.
- Select Unshare from everyone else.
- In the Unshare
drive-namefrom everyone else? prompt, review the users who will lose their key, then click Unshare.
Every key to the drive except yours is deleted. The users listed in the prompt can no longer use the drive.
- Only the drive owner can do this: anyone else gets "Only the owner of a drive may delete keys for it". The action is offered with the Unshare drives permission and acts on one drive at a time.
- If the drive is not shared with anyone else, tiCrypt shows "
drive-nameis not shared with anyone else". - If some of those users co-own VM configurations that use the drive, the prompt also lists them and their configurations, as in Unshare the Drive with a User.
Delete the Drive
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Drives section on the top left panel.
- Select the drive to delete.
- Click the menu next to the selected drive in the left panel list.
- Select Delete.
- In the prompt, tick the drive(s) without errors to delete.
- Type "Confirm" to confirm deletion.
- Click Delete followed by the number of drives, for example Delete 1 drive(s).
"Deleting a drive is irreversible and the data will be lost." You cannot delete drives attached to a VM. Detach the drive from every VM first; you do not need to shut the VM down.
The drives are marked as deleted, and the task offers an Undo for 30 seconds before they are deleted permanently.