file_sharing.md 5.68 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
1.  [HCC-DOCS](index.html)
2.  [HCC-DOCS Home](HCC-DOCS-Home_327685.html)
3.  [HCC Documentation](HCC-Documentation_332651.html)
4.  [Handling Data](Handling-Data_332256.html)
5.  [Globus Connect](Globus-Connect_6357013.html)

<span id="title-text"> HCC-DOCS : File Sharing </span>
======================================================

Created by <span class="author"> Emelie Harstad</span>, last modified on
Oct 20, 2017

If you would like another colleague or researcher to have access to your
data, you may also create a read-only shared endpoint on Tusker, Crane
or Sandhills.  You can personally manage access to this endpoint and
give read permissions to anybody with a Globus account (whether or not
they have an HCC account).  *Please use this feature responsibly by
sharing only what is necessary and granting access only to trusted
users.  *

<span
class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span>

 Shared endpoints created in your `home` directory on HCC servers (with
the exception of Attic) are *read-only*. You may create readable and
writable shared endpoints in your `work` directory (or `/shared`).

  

1.  Sign in to your Globus account, click on the 'Manage Endpoints' tab
    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
    Tusker `work` directory, search for the `hcc#tusker` endpoint.  Once
    you have found the endpoint, it will need to be activated if it has
    not been already (see [endpoint activation instructions
    here](https://hcc-docs.unl.edu/display/HCCDOC/Activating+HCC+Cluster+Endpoints)).
     If it is already activated, select the endpoint by clicking on the
    name.  Then select the 'Sharing' tab and click 'Add Shared
    Endpoint'.    
      
    <span
    class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size"><img src="assets/images/6357013/6750242.png" class="confluence-embedded-image confluence-content-image-border image-center" width="600" /></span>  
    <span
    class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size"><img src="assets/images/6357013/6750243.png" class="confluence-embedded-image confluence-content-image-border image-center" width="600" /></span>  
      
2.  In the 'Source Path' box, enter the full path to the directory you
    would like to share.  Only files under this directory will be shared
    to the endpoint users you grant access.  Also enter the endpoint
    name.  All shared endpoints you create will begin with your own
    Globus userid (for example, `<userid>#tusker-share).  `Provide a
    short description of the endpoint and then click 'Create and Manage
    Access'.

      
    <span
    class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size"><img src="assets/images/6357013/6750244.png" class="confluence-embedded-image confluence-content-image-border image-center" width="600" /></span>  
      

3.  Type the Globus ID of the user to whom you would like to grant
    access to this endpoint.  Next enter the *relative path* of the
    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
    entered as simply `/dataX.  `Finally, click the blue 'Add' button.
     You should see the message: '1 user added successfully'.  
      
    <span
    class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size"><img src="assets/images/6357013/6750245.png" class="confluence-embedded-image confluence-content-image-border image-center" width="600" /></span>  
    <span
    class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size"><img src="assets/images/6357013/6750246.png" class="confluence-embedded-image confluence-content-image-border image-center" width="600" /></span>

     

4.  You can also add a group of users.  First you will need to create a
    group (see [instructions for creating
    groups](https://hcc-docs.unl.edu/display/HCCDOC/Creating+Globus+Groups)).
     To give an entire group access to your shared endpoint, you will
    need to search for the group name by clicking on the word
    'search &gt;&gt;' which appears just to the right of the ID text
    box.  
      
    <span
    class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size"><img src="assets/images/6357013/6750247.png" class="confluence-embedded-image confluence-content-image-border image-center" width="600" /></span>  
      

5.  Next, enter the name of your group in the search text box, click the
    search icon, select your group from the search results by checking
    the box in front.  Enter the relative path to which group members
    should have access, and click the blue 'Use Selections' button at
    the bottom.  You should receive the message: 'A group added
    successfully.'  
      
    <span
    class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size"><img src="assets/images/6357013/6750248.png" class="confluence-embedded-image confluence-content-image-border image-center" width="600" /></span>  
    <span
    class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size"><img src="assets/images/6357013/6750249.png" class="confluence-embedded-image confluence-content-image-border image-center" width="600" /></span>

 

------------------------------------------------------------------------