rsnt_translations
56,420
edits
(Marked this version for translation) |
No edit summary |
||
Line 128: | Line 128: | ||
{{Command|setfacl -m g:wg-datasharing:rwx /home/smithj/projects/def-smithj/shared_data}} | {{Command|setfacl -m g:wg-datasharing:rwx /home/smithj/projects/def-smithj/shared_data}} | ||
In order for this method to work the following things need to be in place: | In order for this method to work the following things need to be in place: | ||
* Group <code>wg-datasharing</code> (or any other name you prefer) must be created in CCDB and you must be assigned ownership of this group. This allows you to add or remove members of the group in [[https://ccdb.computecanada.ca CCDB]]. | |||
* The directory, <code>/home/smithj/projects/def-smithj/shared_data</code> in our example, must be owned by you. | |||
* Since the data sharing group (<code>wg-datasharing</code> in this example) is not necessarily the owner of the directory you would like to share (<code>shared_data</code> in this example), all parent directories in its path should allow public entry, that is, execute permission. They do not need to have public read permission, unless you decide to allow it. | |||
<!--T:21--> | <!--T:21--> | ||
How | How do you achieve these three requirements? | ||
# Send email to [mailto:support@computecanada.ca support@computecanada.ca] requesting creation of data sharing group, indicate name of the group you would like to have and that you should be the owner. | |||
# When you receive confirmation from Compute Canada Support that the group has been created, go to [https://ccdb.computecanada.ca/services/ ccdb.computecanada.ca/services/] and access it: | |||
[[File:Cc services screen.png|1036px|Services screen displaying groups you can manage]] | [[File:Cc services screen.png|1036px|Services screen displaying groups you can manage]] | ||
<!--T:22--> | <!--T:22--> | ||
# Click on the group's name and enter the group management screen: | |||
[[File:Cc service management screen.png|1036px|Services screen showing group's owner]] | [[File:Cc service management screen.png|1036px|Services screen showing group's owner]] | ||
# Add member (Victor Van Doom with CCI vdv-888, for example) to the group as a member: | |||
[[File:Cc service add member success screen.png|1036px|Services screen showing members of the group]] | [[File:Cc service add member success screen.png|1036px|Services screen showing members of the group]] | ||
<!--T:23--> | <!--T:23--> | ||
# Make sure that <code>/home/smithj/projects/def-smithj</code> can be traversed by anyone, that is, ensure it has execute permission turned on: | |||
{{Command|chmod -R o+X /home/smithj/projects/def-smithj}} | {{Command|chmod -R o+X /home/smithj/projects/def-smithj}} | ||
# Add the new group to the access control list (ACL) for the directory: | |||
{{Command|setfacl -m g:wg-datasharing:rwx /home/smithj/projects/def-smithj/shared_data}} | {{Command|setfacl -m g:wg-datasharing:rwx /home/smithj/projects/def-smithj/shared_data}} | ||