file_sharing.md 2.46 KB
Newer Older
eharstad's avatar
eharstad committed
1
2
3
4
5
+++
title = "File Sharing"
description = "How to share files using Globus"
weight = 50
+++
6
7

If you would like another colleague or researcher to have access to your
8
data, you may create a shared endpoint on Crane, Rhino, or Attic. You can personally manage access to this endpoint and
eharstad's avatar
eharstad committed
9
give access to anybody with a Globus account (whether or not
10
11
they have an HCC account).  *Please use this feature responsibly by
sharing only what is necessary and granting access only to trusted
eharstad's avatar
eharstad committed
12
users.*
13

eharstad's avatar
eharstad committed
14
15
{{% notice info %}}
Shared endpoints created in your `home` directory on HCC servers (with
16
17
the exception of Attic) are *read-only*. You may create readable and
writable shared endpoints in your `work` directory (or `/shared`).
eharstad's avatar
eharstad committed
18
{{% /notice %}}
19

20
1.  Sign in to your Globus account, click on the 'Endpoints' tab
21
22
    and search for the endpoint that you will use to host your shared
    endpoint.  For example, if you would like to share data in your
23
    Crane `work` directory, search for the `hcc#crane` endpoint.  Once
24
25
    you have found the endpoint, it will need to be activated if it has
    not been already (see [endpoint activation instructions
eharstad's avatar
eharstad committed
26
    here]({{< relref "activating_hcc_cluster_endpoints" >}})).
27
     If it is already activated, select the endpoint by clicking on the
28
29
30
    name.  Then select the 'share' button on the right sidebar.
{{< figure src="/images/sharedEndpoint.png" >}}
{{< figure src="/images/shareButton.png" >}}
31
      
32
2.  In the 'Path' box, enter the full path to the directory you
33
    would like to share.  Only files under this directory will be shared
eharstad's avatar
eharstad committed
34
35
    to the endpoint users you grant access.  Enter a descriptive endpoint
    name and provide a
36
37
    short description of the endpoint if you wish.  Finally, click 'Create Share'.
{{< figure src="/images/createShare.png" >}}
38
      
39
3.  Type the Globus ID (or group name) of the user (or group) to whom you would like to grant
eharstad's avatar
eharstad committed
40
    access to this endpoint.  Next enter the *relative path* of the
41
42
43
44
45
    directory that this user should be able to access.  For example, if
    the source path of your shared endpoint
    is `/work/<groupid>/<userid>/share` but you would like your
    colleague to only have access
    to `/work/<groupid>/<userid>/share/dataX`, then the 'Path' should be
46
47
48
49
    entered as simply `/dataX`.  Finally, click the blue 'Add Permission' button.
     You should see the user or group added to the list.
{{< figure src="/images/addPermission.png" >}}
{{< figure src="/images/sharedGroup.png" >}}
50
51
      

eharstad's avatar
eharstad committed
52
---
53
54
55