The following points summarise some of the basics of Team Drives in the RDMS:
/<zone>/home/<Team_Name>.In the following sections, it will be described how an RDMS Team Drive is initially requested and set up. Furthermore, the management of a Team Drive and working with a Team Drive will be explained using some examples. For fair use practices, please refer to our User Policies.
The initial setup of a Team Drive has to be requested via rdms-support@rug.nl. After the Team Drive is created, the management and maintenance of an RDMS Team Drive are in the hands of the individual research groups or Team Drive owners.
For the setup of a Team Drive, the following additional information is needed:
/<zone>/home/<Team_Name>.
Due to system configurations, the minimum permission that should be granted to Team Drive users in the main folder of the Team Drive is modify_metadata. If a user wants to upload data into the Team Drive, they need to have permission to modify the metadata entry displaying the number of objects and their size in the Team Drive. If they have lower permissions, the upload operation will fail.
Once a Team Drive is created, all the owners listed in the request are added to the Team Drive group. The membership in the group gives you ownership of the Team Drive and also identifies you as the person responsible for making decisions about the Team Drive. If you need to add a new owner to the group at a later stage, please contact rdms-support@rug.nl. Please do not change the permissions of this group.
Owners added to the Team Drive by giving their account own permission can act as owners in the Team Drive, but will have no decision power regarding that Team Drive.
For this example, we assume that a new Team Drive with the name "Example_Group1" was requested. Accordingly, the location of the new Team Drive is at /<zone>/home/Example_Group1, the top-level of our RDMS Team Drive.
As there is a difference in the usage of Team Drives by the owners of the Team Drives and by regular RDMS users, the following section will be split according to this distinction:
The section below describes various activities that can be performed by a Team Drive owner, such as adding users or changing their permissions. Please note that a Team Drive owner is not able to change the group membership of other group members. If you need to add a new responsible person to the Team Drive via the Team Drive group, please contact rdms-support@rug.nl.
As a Team Drive owner, you can add new RDMS users and manage the user permissions within the Team Drive. To do this, follow the steps below:
To change existing permissions, you can follow the first step as described above, as if you wanted to add a new user. Instead of clicking on the three vertical dots, you can now click on the pencil icon as shown in the screenshot.
The next window that will open allows you to select the user you want to modify, the new permission itself, and if you want the change to be applied only in the selected folder or recursively to any subfolder contained below it.
If the operation was successful, then the new user and their permission will be shown as in the screenshot below.
Note: You can add a new owner of the Team Drive yourself, by changing existing permissions or adding a new user with own permission. As described above, this user can now act as a Team Drive Owner and help you manage the Team Drive. However, if you wish for this new user to also have decision power over the Team Drive, you need to have them added to the Team Drive group. You cannot do this operation yourself, but you need to contact the RDMS support to do so.
The steps to assign permissions that were described above always assign permissions on the top level of the Team Drive, and all of its sub-folders and files if the specific checkbox was selected.
For a more granular permission assignment, it is possible to adjust the permission levels differently for different files/folders that are contained in the Team Drive.
For this, the respective file/folder has to be selected from the data tab. Subsequently, pressing the i button while the file/folder is selected will open a new menu which also contains a 'Members' tab which lists all the currently set permissions for that file/folder.
Note:
While there are several use cases and advantages to a granular permission management of data in a Team Drive, please take into account that this can lead to a loss of overview about which permissions are currently set on which files/folders in the Team Drive.
Also, please take into account that a permission change at a higher level will overwrite the different individual permissions of the same user/group if 'Including sub files and folder' is selected during permission assignments.
If you want to have a Team Drive that is set up with granular permissions for different users/groups, it is recommended to get in contact with the RDMS support if you are unsure how this is realized in the best way.
It is furthermore possible to enable/disable permission inheritance for the whole Team Drive or its sub-folders. If a Team Drive is created, the standard setting will create it with permission inheritance 'false' (inheritance disabled), which means that a newly created sub-folder or file within the Team Drive's main folder will not inherit the permissions that were assigned on the main folder.
The owner of a Team Drive can enable permission inheritance on the whole drive if that is desired. To do this, you have to navigate to the management tab of the Team Drive and then first select the i button to reveal the information window.
From there, you can access a context menu that allows you to select 'Set permission inheritance'.
Please read the section about permissions, which also contains a more detailed explanation about permission inheritance in general.
For those RDMS users who do not use the web interface to work in the system, but who rather work via the command-line interface (CLI) using iCommands, it is also possible to do these management tasks from the CLI.
Please refer to the icommands wiki, which provides some examples of specific commands that can be used for management tasks. Also refer to the official iRODS documentation, which also has a summary of the available commands.
A selection of the most common commands for CLI-based Team Drive management:
ils -A: Shows the files/folders, including the currently set access permissions.ichmod: Allows you to modify permissions for files/folders.For regular RDMS users, the above-described drive management tasks are of lesser importance. In the following section, we will therefore focus on the description of where these users find their available RDMS Team Drives in the web interface or when using one of the clients. We will also explain how to transfer files to/from a Team Drive location, as a short example.
From the web interface
From the web interface, available Team Drives are listed in the Data Browser tab. Clicking on the name of one of the listed Team Drives will open it.
Afterwards, basic tasks can be performed directly in the web interface, for example, the creation of new folders or uploading of small files (<50 MB).
Alternatively, if the correct location of the respective Team Drive is known, in our example /rug/home/Example_Team1, it is also possible to copy this location to the address bar in the web interface, and confirm by pressing 'Enter' to reach the Team Drive.
Using one of the GUI clients (e.g. Cyberduck)
When using Cyberduck as an example for a GUI client for the RDMS, the Team Drive locations can be accessed in the following way:
If you are using the native iRODS protocol for Cyberduck and you did not set a special configuration in Cyberduck, you will see your personal Home location after login (e.g., /rug/home/<mailadress>).
As this is one level down the folder hierarchy of the RDMS, you first need to navigate one level up to see the available RDMS Team Drive.
At the higher level, in this example /rug/home/, all of the locations where you have some level of permissions (this includes Team Drives) will be available. Just click on a folder to access/open it. Afterwards, file management tasks like up-/download (see below) can be performed.
For Cyberduck on Windows, it is also possible to directly specify the full location to reach a Team Drive.
Within Cyberduck, this can be done from the Menu under Go → Go to Folder…, then specify the location and confirm to open it.
Note:
If you do not use the native iRODS protocol for the connection to the RDMS in Cyberduck, but instead use the WebDAV protocol, the situation is slightly different:
Using the WebDAV protocol in Cyberduck always opens the location above the user's personal home location, for example, /rug/home/.
From there, other locations like Team Drives can be accessed directly.
Via the CLI using iCommands
For users of iCommands, the easiest way to access a Team Drive location is by directly navigating to its full location using the icd command like:
$ icd /rug/home/Example_Team1
Data transfer in/out of a Team Drive works in the same way as in/out of your personal Home location.
If this does not work out as expected, you likely lack the correct permissions for your desired task.
Please check our overview of the different permission levels for the needed permissions.
If in doubt, contact the owner/manager of the Team Drive for further information or contact the RDMS support for assistance.